From 8342ec8b5cfbbadc3164352c7b1cb47eaff47779 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Mon, 1 Aug 2022 18:45:19 +0530 Subject: [PATCH] UI: Change /api/auth -> /api/authenticate --- monkey/monkey_island/cc/ui/src/services/AuthService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/ui/src/services/AuthService.js b/monkey/monkey_island/cc/ui/src/services/AuthService.js index 7838a8563..09966ead0 100644 --- a/monkey/monkey_island/cc/ui/src/services/AuthService.js +++ b/monkey/monkey_island/cc/ui/src/services/AuthService.js @@ -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) => {