Skip to content

Commit ec6f425

Browse files
committed
fix for logout issue
1 parent d5a4e39 commit ec6f425

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ClientApp/app/core/services/account.service.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ export class AccountService {
2626
return undefined;
2727
}
2828
public logout() {
29-
this.dataService.post('api/account/logout').subscribe((res) => {
30-
this.oAuthService.logOut();
31-
this.utilityService.navigateToSignIn();
32-
});
29+
this.oAuthService.logOut();
30+
this.utilityService.navigateToSignIn();
3331
}
3432

3533
public get accessToken(): string {

0 commit comments

Comments
 (0)