diff --git a/BeWo/View/PasswortAenderungsView.xaml.cs b/BeWo/View/PasswortAenderungsView.xaml.cs index ded3194f2..40e155da7 100644 --- a/BeWo/View/PasswortAenderungsView.xaml.cs +++ b/BeWo/View/PasswortAenderungsView.xaml.cs @@ -1,11 +1,7 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text.RegularExpressions; using System.Windows; using System.Windows.Input; using System.Windows.Media; -using BeWo.Core; using BeWo.PasswortSecurity; using BeWo.ServiceProxy; using BeWo.ViewModel; diff --git a/BeWoPlanerMobil/BeWoPlanerMobil.csproj b/BeWoPlanerMobil/BeWoPlanerMobil.csproj index d2323abb6..f200008f4 100644 --- a/BeWoPlanerMobil/BeWoPlanerMobil.csproj +++ b/BeWoPlanerMobil/BeWoPlanerMobil.csproj @@ -4659,6 +4659,7 @@ + @@ -5092,7 +5093,7 @@ - False + True False 8808 / diff --git a/BeWoPlanerMobil/Controllers/MainController.cs b/BeWoPlanerMobil/Controllers/MainController.cs index 619854cdb..44094efe1 100644 --- a/BeWoPlanerMobil/Controllers/MainController.cs +++ b/BeWoPlanerMobil/Controllers/MainController.cs @@ -3801,6 +3801,8 @@ namespace BeWoPlanerMobil.Controllers // ToDo: Testen! falsches oldPassword, kein oldPassword, newPassword stimmt nicht mit confirmationPassword überein, kein confirmationPassword, kein newPassword UserService.ChangePassword(userName, userVersion, oldPassword, newPassword); + // ToDo: Regeln beachten, welche Passwortstärke mindestens erreicht werden muss. + return RedirectToActionPermanent("Main"); } } diff --git a/BeWoPlanerMobil/Views/Main/Main.cshtml b/BeWoPlanerMobil/Views/Main/Main.cshtml index 10ca812ac..06c2d7e20 100644 --- a/BeWoPlanerMobil/Views/Main/Main.cshtml +++ b/BeWoPlanerMobil/Views/Main/Main.cshtml @@ -16,118 +16,11 @@ } +