Example #1
0
 public override Benutzer RunPasswortAendern(PasswortAendernParameter arg)
 {
     if (LoginInformation.Passwort.Equals(arg.AltesPasswort) && arg.NeuesPasswort.Equals(arg.NeuesPasswortCheck))
     {
         LoginInformation = LoginInformation.ChangePassword(arg.NeuesPasswort);
     }
     return(this);
 }