Ben Tedder

Results 2 comments of Ben Tedder

Ah, no i figured this out just now. Here's the deal. Check out the line of code here: https://github.com/neroniaky/angular2-token/blob/master/src/angular2-token.service.ts#L270 So it's actually checking for null. Here's the problem with the...

I have a reset component that does something like this: ``` this.activatedRoute.queryParams.subscribe((params: Params) => { this.token = params['token']; }, () => { this.notify.error('Error with token.'); }); ```