Commit acc3ca2b authored by lukas.burgey's avatar lukas.burgey

Hide 'Not authenticated' message before login

parent 6fa51607
......@@ -207,16 +207,13 @@ export class UserService {
private updateState(update: State): void {
if (update) {
// report an occured error
if (update.msg) {
if (update.msg && update.msg !== 'Not authenticated') {
this.snackBar.open(update.msg);
}
if (update.session) {
if (update.session.deactivated) {
this.autoReLogin = false;
}
if (update.session.msg && update.session.msg != 'Not authenticated') {
this.snackBar.open(update.session.msg);
}
}
this.user = update.user;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment