forked from p15670423/monkey
UI: Change /api/auth -> /api/authenticate
This commit is contained in:
parent
3c1e69eabb
commit
8342ec8b5c
|
@ -2,7 +2,7 @@ import decode from 'jwt-decode';
|
|||
|
||||
export default class AuthService {
|
||||
SECONDS_BEFORE_JWT_EXPIRES = 20;
|
||||
AUTHENTICATION_API_ENDPOINT = '/api/auth';
|
||||
AUTHENTICATION_API_ENDPOINT = '/api/authenticate';
|
||||
REGISTRATION_API_ENDPOINT = '/api/registration';
|
||||
|
||||
login = (username, password) => {
|
||||
|
|
Loading…
Reference in New Issue