|
|
@ -78,7 +78,8 @@ export class GfUserAccountSettingsComponent implements OnDestroy, OnInit { |
|
|
public isAccessTokenHidden = true; |
|
|
public isAccessTokenHidden = true; |
|
|
public isFingerprintSupported = this.doesBrowserSupportAuthn(); |
|
|
public isFingerprintSupported = this.doesBrowserSupportAuthn(); |
|
|
public isWebAuthnEnabled: boolean; |
|
|
public isWebAuthnEnabled: boolean; |
|
|
public language = document.documentElement.lang; |
|
|
public language = $localize.locale; |
|
|
|
|
|
|
|
|
public locales = [ |
|
|
public locales = [ |
|
|
'ca', |
|
|
'ca', |
|
|
'de', |
|
|
'de', |
|
|
@ -199,7 +200,7 @@ export class GfUserAccountSettingsComponent implements OnDestroy, OnInit { |
|
|
this.tokenStorageService.signOut(); |
|
|
this.tokenStorageService.signOut(); |
|
|
this.userService.remove(); |
|
|
this.userService.remove(); |
|
|
|
|
|
|
|
|
document.location.href = `/${document.documentElement.lang}`; |
|
|
document.location.href = `/${this.language}`; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
confirmType: ConfirmationDialogType.Warn, |
|
|
confirmType: ConfirmationDialogType.Warn, |
|
|
|