mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
front/auth: implement privileges + top nav auth
This commit is contained in:
@ -36,7 +36,7 @@ class AuthController {
|
||||
options);
|
||||
resolve();
|
||||
page('/');
|
||||
/* TODO: notify top navigation */
|
||||
/* TODO: notify about login */
|
||||
}).catch(errorMessage => { reject(errorMessage); });
|
||||
});
|
||||
}});
|
||||
@ -46,7 +46,7 @@ class AuthController {
|
||||
this.api.logout();
|
||||
cookies.remove('auth');
|
||||
page('/');
|
||||
/* TODO: notify top navigation */
|
||||
/* TODO: notify about logout */
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user