Code Cleanup und Passwort ändern im Profil
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
@page "/profile"
|
||||
|
||||
@using FoodsharingSiegen.Server.Dialogs
|
||||
@using FoodsharingSiegen.Server.BaseClasses
|
||||
|
||||
@inherits FsBase
|
||||
@@ -31,6 +32,8 @@
|
||||
</Fields>
|
||||
|
||||
<h3>Sicherheit</h3>
|
||||
<Button Color="Color.Primary" Class="mb-2" Clicked="ChangePassword">Passwort ändern</Button>
|
||||
<Button Color="Color.Primary" Class="mb-2" Clicked="() => PasswordModal?.Show(User)!">Passwort ändern</Button>
|
||||
<Button Color="Color.Danger" Class="mb-2" Clicked="RemoveAccount">Konto löschen</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<SetPasswordModal @ref="PasswordModal" OnPasswortSet="OnPasswordSet"></SetPasswordModal>
|
||||
Reference in New Issue
Block a user