Skip to content

Commit 31a6ecf

Browse files
committed
fix(client:auth): fix session re-establish
Remove `extractData` call on `userService.get()` since it already returns parsed data. fixes #2625
1 parent 3035816 commit 31a6ecf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: templates/app/client/components/auth(auth)/auth.service.js

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export class AuthService {
3434

3535
if(localStorage.getItem('id_token')) {
3636
this.UserService.get().toPromise()
37-
.then(extractData)
3837
.then((user: User) => {
3938
this.currentUser = user;
4039
})

0 commit comments

Comments
 (0)