diff --git a/monkey/monkey_island/cc/ui/src/services/AuthService.js b/monkey/monkey_island/cc/ui/src/services/AuthService.js index 09966ead0..f8d7b0754 100644 --- a/monkey/monkey_island/cc/ui/src/services/AuthService.js +++ b/monkey/monkey_island/cc/ui/src/services/AuthService.js @@ -3,7 +3,7 @@ import decode from 'jwt-decode'; export default class AuthService { SECONDS_BEFORE_JWT_EXPIRES = 20; AUTHENTICATION_API_ENDPOINT = '/api/authenticate'; - REGISTRATION_API_ENDPOINT = '/api/registration'; + REGISTRATION_API_ENDPOINT = '/api/register'; login = (username, password) => { return this._login(username, password);