forked from p15670423/monkey
UI: Change /api/registration -> /api/register
This commit is contained in:
parent
187dc64045
commit
236b2cb3e2
|
@ -3,7 +3,7 @@ import decode from 'jwt-decode';
|
||||||
export default class AuthService {
|
export default class AuthService {
|
||||||
SECONDS_BEFORE_JWT_EXPIRES = 20;
|
SECONDS_BEFORE_JWT_EXPIRES = 20;
|
||||||
AUTHENTICATION_API_ENDPOINT = '/api/authenticate';
|
AUTHENTICATION_API_ENDPOINT = '/api/authenticate';
|
||||||
REGISTRATION_API_ENDPOINT = '/api/registration';
|
REGISTRATION_API_ENDPOINT = '/api/register';
|
||||||
|
|
||||||
login = (username, password) => {
|
login = (username, password) => {
|
||||||
return this._login(username, password);
|
return this._login(username, password);
|
||||||
|
|
Loading…
Reference in New Issue