diff --git a/backend/exceptions/credentials_exceptions.py b/backend/exceptions/credentials_exceptions.py index ab9d343c8..7cc738e1c 100644 --- a/backend/exceptions/credentials_exceptions.py +++ b/backend/exceptions/credentials_exceptions.py @@ -4,11 +4,9 @@ from fastapi import HTTPException, status credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Incorrect username or password", - headers={"WWW-Authenticate": "Basic"}, ) authentication_scheme_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Invalid authentication scheme", - headers={"WWW-Authenticate": "Basic"}, ) diff --git a/frontend/src/views/Login.vue b/frontend/src/views/Login.vue index 1d021a4be..a6bdbdf6b 100644 --- a/frontend/src/views/Login.vue +++ b/frontend/src/views/Login.vue @@ -40,10 +40,7 @@ function login() { // POC FOR VALIDATING AND TESTING LOGIN PAGE onBeforeMount(async () => { - // Check if romm auth is enabled - await axios.post("/api/login").then(() => { - router.push("/"); - }); + // TODO: Check if romm auth is enabled to redirect to the home dashboard });