Passwort setzen funktion
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Blazorise.DataGrid;
|
||||
using FoodsharingSiegen.Contracts.Entity;
|
||||
using FoodsharingSiegen.Server.Data.Service;
|
||||
using FoodsharingSiegen.Server.Dialogs;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace FoodsharingSiegen.Server.Pages
|
||||
@@ -44,6 +45,7 @@ namespace FoodsharingSiegen.Server.Pages
|
||||
public List<Company> Companies { get; set; }
|
||||
public List<UserGroup> SelectedCompanies { get; set; }
|
||||
public List<string> SelectedCompanyTexts { get; set; } = new();
|
||||
public SetPasswordModal PasswordModal { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -147,6 +149,11 @@ namespace FoodsharingSiegen.Server.Pages
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private async Task OnPasswordSet(User user)
|
||||
{
|
||||
var result = await UserService.SetPassword(user);
|
||||
}
|
||||
}
|
||||
|
||||
public class Company
|
||||
|
||||
Reference in New Issue
Block a user