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:
Me
2022-11-29 20:49:41 +01:00
parent 53faba7f69
commit d01f92a366
6 changed files with 162 additions and 134 deletions

View File

@@ -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');
}