Skip to content

Commit ddfd2e6

Browse files
committed
resolved #401: clear enc_auth_token during logout
1 parent 118d271 commit ddfd2e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

angular/src/shared/auth/app-auth.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export class AppAuthService {
66

77
logout(reload?: boolean): void {
88
abp.auth.clearToken();
9+
abp.utils.setCookieValue(AppConsts.authorization.encrptedAuthTokenName, undefined, undefined, abp.appPath);
910
if (reload !== false) {
1011
location.href = AppConsts.appBaseUrl;
1112
}

0 commit comments

Comments
 (0)