Commit 536b2269 authored by Chris Hines's avatar Chris Hines
Browse files

still having login problems

parent 65658df9
Pipeline #7537 passed with stages
in 3 minutes
...@@ -133,6 +133,7 @@ export class AuthorisationService { ...@@ -133,6 +133,7 @@ export class AuthorisationService {
} }
storeToken(frag: string) { storeToken(frag: string) {
console.log('storing the token fragment');
if (frag === undefined || frag == null) { if (frag === undefined || frag == null) {
return; return;
} }
...@@ -171,6 +172,7 @@ export class AuthorisationService { ...@@ -171,6 +172,7 @@ export class AuthorisationService {
console.log('entered getCert'); console.log('entered getCert');
if (token === null || token === undefined || token.token === undefined || token.token === '' || token.token === null) { if (token === null || token === undefined || token.token === undefined || token.token === '' || token.token === null) {
console.log('getCert token not defined, setting callback'); console.log('getCert token not defined, setting callback');
console.log(this.token.value);
this.token.pipe(skip(1),take(1)).subscribe(() => this.getCert()); this.token.pipe(skip(1),take(1)).subscribe(() => this.getCert());
return return
} }
......
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