diff --git a/CHANGELOG.md b/CHANGELOG.md index 606cc970a..846f9c433 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added a step by step introduction for new users +### Fixed + +- Removed the _Stay signed in_ setting on _Sign in with fingerprint_ activation + ## 1.294.0 - 2023-07-29 ### Changed diff --git a/apps/client/src/app/pages/account/account-page.component.ts b/apps/client/src/app/pages/account/account-page.component.ts index 8f039b177..5ab140265 100644 --- a/apps/client/src/app/pages/account/account-page.component.ts +++ b/apps/client/src/app/pages/account/account-page.component.ts @@ -15,6 +15,10 @@ import { import { ActivatedRoute, Router } from '@angular/router'; import { CreateAccessDto } from '@ghostfolio/api/app/access/create-access.dto'; import { DataService } from '@ghostfolio/client/services/data.service'; +import { + STAY_SIGNED_IN, + SettingsStorageService +} from '@ghostfolio/client/services/settings-storage.service'; import { UserService } from '@ghostfolio/client/services/user/user.service'; import { WebAuthnService } from '@ghostfolio/client/services/web-authn.service'; import { getDateFormatString } from '@ghostfolio/common/helper'; @@ -80,6 +84,7 @@ export class AccountPageComponent implements OnDestroy, OnInit { private snackBar: MatSnackBar, private route: ActivatedRoute, private router: Router, + private settingsStorageService: SettingsStorageService, private stripeService: StripeService, private userService: UserService, public webAuthnService: WebAuthnService @@ -397,6 +402,8 @@ export class AccountPageComponent implements OnDestroy, OnInit { }) ) .subscribe(() => { + this.settingsStorageService.removeSetting(STAY_SIGNED_IN); + this.update(); }); } diff --git a/apps/client/src/app/pages/account/account-page.html b/apps/client/src/app/pages/account/account-page.html index 7f9fb57a5..fbf14544a 100644 --- a/apps/client/src/app/pages/account/account-page.html +++ b/apps/client/src/app/pages/account/account-page.html @@ -235,7 +235,12 @@