added a few things back that i had deleted before when fixing 502, mainly looking at login fetch, so far everything works, no 502 and livereload is sorta a thing
This commit is contained in:
@@ -34,12 +34,12 @@ 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');
|
||||
return response.status(200).redirect('http://transcendance:8080/#/profile');
|
||||
return response.status(200).redirect('http://transcendance:8080/#/2fa');
|
||||
}
|
||||
|
||||
/**
|
||||
* GET /api/v2/auth/logout
|
||||
* POST /api/v2/auth/logout
|
||||
* Route pour déconnecter l'utilisateur
|
||||
*/
|
||||
@Post('logout')
|
||||
|
||||
Reference in New Issue
Block a user