Things still work, and i'm cleaning up my work cuz it's hard to know what's going on otherwise
This commit is contained in:
@@ -34,7 +34,7 @@ export class AuthenticationController {
|
||||
console.log('ON EST DANS REDIRECT AUTH CONTROLLER');
|
||||
console.log('On redirige');
|
||||
if (request.user.isEnabledTwoFactorAuth === false)
|
||||
return response.status(200).redirect('http://transcendance:8080/#/profile');
|
||||
return response.status(200).redirect('http://transcendance:8080/');
|
||||
return response.status(200).redirect('http://transcendance:8080/#/2fa');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user