Commit de124011 authored by Lukas Burgey's avatar Lukas Burgey

Hide 'Not authenticated' message'

parent d5048e6a
...@@ -14,6 +14,7 @@ import { ...@@ -14,6 +14,7 @@ import {
VO, User, Update, State, Deployment, DeploymentState, SSHKey, NewSSHKey, IdP, Service, Site, JSONObject, IdPInfo VO, User, Update, State, Deployment, DeploymentState, SSHKey, NewSSHKey, IdP, Service, Site, JSONObject, IdPInfo
} from './types/types.module'; } from './types/types.module';
// TODO terrible name
export interface Combination { export interface Combination {
user: User; user: User;
prefs: Prefs; prefs: Prefs;
...@@ -206,7 +207,7 @@ export class UserService { ...@@ -206,7 +207,7 @@ export class UserService {
if (update.session.deactivated) { if (update.session.deactivated) {
this.autoReLogin = false; this.autoReLogin = false;
} }
if (update.session.auth_error) { if (update.session.auth_error && update.session.auth_error !== 'Not authenticated') {
this.snackBar.open(update.session.auth_error); this.snackBar.open(update.session.auth_error);
} }
} }
......
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