Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalWebpage
Commits
de124011
Commit
de124011
authored
Apr 08, 2019
by
Lukas Burgey
Browse files
Hide 'Not authenticated' message'
parent
d5048e6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/user.service.ts
View file @
de124011
...
...
@@ -14,6 +14,7 @@ import {
VO
,
User
,
Update
,
State
,
Deployment
,
DeploymentState
,
SSHKey
,
NewSSHKey
,
IdP
,
Service
,
Site
,
JSONObject
,
IdPInfo
}
from
'
./types/types.module
'
;
// TODO terrible name
export
interface
Combination
{
user
:
User
;
prefs
:
Prefs
;
...
...
@@ -206,7 +207,7 @@ export class UserService {
if
(
update
.
session
.
deactivated
)
{
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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment