|
|
@ -82,8 +82,7 @@ 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 = $localize.locale; |
|
|
public language = document.documentElement.lang; |
|
|
|
|
|
|
|
|
public locales = [ |
|
|
public locales = [ |
|
|
'ca', |
|
|
'ca', |
|
|
'de', |
|
|
'de', |
|
|
@ -304,7 +303,7 @@ export class GfUserAccountSettingsComponent implements OnDestroy, OnInit { |
|
|
this.tokenStorageService.signOut(); |
|
|
this.tokenStorageService.signOut(); |
|
|
this.userService.remove(); |
|
|
this.userService.remove(); |
|
|
|
|
|
|
|
|
document.location.href = `/${this.language}`; |
|
|
document.location.href = `/${document.documentElement.lang}`; |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
confirmType: ConfirmationDialogType.Warn, |
|
|
confirmType: ConfirmationDialogType.Warn, |
|
|
|