accounts-frontend/src/services/api/authentication.js

15 lines
281 B
JavaScript
Raw Normal View History

import request from 'services/request';
export default {
login({
login = '',
password = '',
rememberMe = false
}) {
return request.post(
'/api/authentication/login',
{login, password, rememberMe}
);
}
};