Browse Source

Improve user account deletion flow

pull/7269/head
Thomas Kaul 1 week ago
parent
commit
052f8dfb5e
  1. 5
      apps/client/src/app/components/user-account-settings/user-account-settings.html

5
apps/client/src/app/components/user-account-settings/user-account-settings.html

@ -341,7 +341,10 @@
hasPermissionToRequestOwnUserDeletion && hasPermissionToRequestOwnUserDeletion &&
(user?.accounts?.length > 0 || user?.activitiesCount > 0) (user?.accounts?.length > 0 || user?.activitiesCount > 0)
) { ) {
<div class="hint-text text-muted" i18n> <button color="warn" i18n mat-flat-button [disabled]="true">
Close Account
</button>
<div class="hint-text mt-2 text-muted" i18n>
For security reasons, please delete all activities and accounts For security reasons, please delete all activities and accounts
first before your Ghostfolio account can be closed. first before your Ghostfolio account can be closed.
</div> </div>

Loading…
Cancel
Save