fix: accounts: when logout go back to last page

This commit is contained in:
2024-02-13 15:52:46 +01:00
parent d59a3dc646
commit 9128c0bf38
6 changed files with 9 additions and 13 deletions

View File

@ -7,9 +7,7 @@ export default class extends AbstractNonAuthenticatedView
{
constructor(params, lastUrlBeforeLogin = '/home')
{
super(params, lang.get('loginWindowTitle', 'Login'), lastUrlBeforeLogin);
this.redirect_url = lastUrlBeforeLogin;
this.current_mode = undefined
}