Skip to content

Commit a29e583

Browse files
authored
Merge pull request #464 from epgeroy/fix_angular_template_typo
fix angular template typo at AppConsts.ts
2 parents c534cae + 942195e commit a29e583

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

angular/src/account/login/login.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class LoginService {
7171
);
7272

7373
this._utilsService.setCookieValue(
74-
AppConsts.authorization.encrptedAuthTokenName,
74+
AppConsts.authorization.encryptedAuthTokenName,
7575
encryptedAccessToken,
7676
tokenExpireDate,
7777
abp.appPath

angular/src/shared/AppConsts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ export class AppConsts {
1515
};
1616

1717
static readonly authorization = {
18-
encrptedAuthTokenName: 'enc_auth_token'
18+
encryptedAuthTokenName: 'enc_auth_token'
1919
};
2020
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +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);
9+
abp.utils.setCookieValue(AppConsts.authorization.encryptedAuthTokenName, undefined, undefined, abp.appPath);
1010
if (reload !== false) {
1111
location.href = AppConsts.appBaseUrl;
1212
}

angular/src/shared/helpers/SignalRAspNetCoreHelper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import { UtilsService } from '@abp/utils/utils.service';
33

44
export class SignalRAspNetCoreHelper {
55
static initSignalR(callback?: () => void): void {
6-
const encryptedAuthToken = new UtilsService().getCookieValue(AppConsts.authorization.encrptedAuthTokenName);
6+
const encryptedAuthToken = new UtilsService().getCookieValue(AppConsts.authorization.encryptedAuthTokenName);
77

88
abp.signalr = {
99
autoConnect: true,
1010
connect: undefined,
1111
hubs: undefined,
12-
qs: AppConsts.authorization.encrptedAuthTokenName + '=' + encodeURIComponent(encryptedAuthToken),
12+
qs: AppConsts.authorization.encryptedAuthTokenName + '=' + encodeURIComponent(encryptedAuthToken),
1313
remoteServiceBaseUrl: AppConsts.remoteServiceBaseUrl,
1414
startConnection: undefined,
1515
url: '/signalr'

0 commit comments

Comments
 (0)