Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hpc-team
strudelv2_spa
Commits
536b2269
Commit
536b2269
authored
Jul 25, 2019
by
Chris Hines
Browse files
still having login problems
parent
65658df9
Pipeline
#7537
passed with stages
in 3 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/app/authorisation.service.ts
View file @
536b2269
...
...
@@ -133,6 +133,7 @@ export class AuthorisationService {
}
storeToken
(
frag
:
string
)
{
console
.
log
(
'
storing the token fragment
'
);
if
(
frag
===
undefined
||
frag
==
null
)
{
return
;
}
...
...
@@ -171,6 +172,7 @@ export class AuthorisationService {
console
.
log
(
'
entered getCert
'
);
if
(
token
===
null
||
token
===
undefined
||
token
.
token
===
undefined
||
token
.
token
===
''
||
token
.
token
===
null
)
{
console
.
log
(
'
getCert token not defined, setting callback
'
);
console
.
log
(
this
.
token
.
value
);
this
.
token
.
pipe
(
skip
(
1
),
take
(
1
)).
subscribe
(()
=>
this
.
getCert
());
return
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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