diff --git a/Watcher/Controllers/UserController.cs b/Watcher/Controllers/UserController.cs index b4ef71e..65272f5 100644 --- a/Watcher/Controllers/UserController.cs +++ b/Watcher/Controllers/UserController.cs @@ -108,7 +108,7 @@ public class UserController : Controller // Passwort ändern if (!string.IsNullOrWhiteSpace(model.NewPassword)) { - user.Username = BCrypt.Net.BCrypt.HashPassword(model.NewPassword); + user.Password = BCrypt.Net.BCrypt.HashPassword(model.NewPassword); } _context.SaveChanges();