We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb97a61 commit 6cd84d7Copy full SHA for 6cd84d7
angular/src/shared/auth/app-auth.service.ts
@@ -28,12 +28,8 @@ export class AppAuthService {
28
29
logout(reload?: boolean): void {
30
abp.auth.clearToken();
31
- abp.utils.setCookieValue(
32
- AppConsts.authorization.encryptedAuthTokenName,
33
- undefined,
34
35
- abp.appPath
36
- );
+ abp.utils.deleteCookie(AppConsts.authorization.encryptedAuthTokenName);
+
37
if (reload !== false) {
38
location.href = AppConsts.appBaseUrl;
39
}
0 commit comments