Opened 9 years ago

Closed 7 years ago

Last modified 6 years ago

#1432 closed defect (fixed)

Passwort zurücksetzen funktioniert nicht bei Verwendung von Benutzernamen

Reported by: thomas.daeppen Owned by: thomas.daeppen
Priority: normal Milestone: Cloudrexx 5.0
Component: Access Version: 4.0
Severity: normal Keywords:

Description (last modified by thomas.daeppen)

Sofern die Option Benutzernamen verwenden aktiviert ist, wird beim Versuch das Passwort über die Funktion Passwort zurücksetzen zurückzusetzen die Fehlermeldung Ungültiges Benutzerkonto angegeben''' angezeigt.

Bugfix in #2125

Attachments (1)

bugfixResetPasswordLink.pdf (36.4 KB) - added by berger 7 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by thomas.daeppen

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 7 years ago by robin.glauser

  • Milestone Contrexx 3.0 SP4 deleted
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Version changed from 3.0.3 to 4.0

comment:5 Changed 7 years ago by berger

row 507 remove

'username'         => $username,


'email'         => $username,

row 351 stay

          if ($this->isBackendMode()) {


    $restorLink = strtolower(ASCMS_PROTOCOL)."://".$_CONFIG['domainUrl'].ASCMS_PATH_OFFSET.ASCMS_BACKEND_PATH."/index.php?cmd=login&act=resetpw&username=".urlencode($objUser->getUsername())."&restoreKey=".$objUser->getRestoreKey();


       $restorLink = strtolower(ASCMS_PROTOCOL)."://".$_CONFIG['domainUrl'].ASCMS_PATH_OFFSET.ASCMS_BACKEND_PATH."/index.php?cmd=login&act=resetpw&username=".urlencode($objUser->getEmail())."&restoreKey=".$objUser->getRestoreKey();


          } else {


    $restorLink = strtolower(ASCMS_PROTOCOL)."://".$_CONFIG['domainUrl'].CONTREXX_SCRIPT_PATH."?section=login&cmd=resetpw&username=".urlencode($objUser->getUsername())."&restoreKey=".$objUser->getRestoreKey();


       $restorLink = strtolower(ASCMS_PROTOCOL)."://".$_CONFIG['domainUrl'].CONTREXX_SCRIPT_PATH."?section=login&cmd=resetpw&username=".urlencode($objUser->getEmail())."&restoreKey=".$objUser->getRestoreKey();


Last edited 6 years ago by sebastian.brand (previous) (diff)

Changed 7 years ago by berger

comment:6 Changed 7 years ago by berger

  • Resolution set to fixed
  • Status changed from reopened to closed

File: lib/FRAMEWORK/FWUser.class.php See: bugfixResetPasswordLink.pdf

comment:7 Changed 6 years ago by thomas.daeppen

  • Description modified (diff)
  • Milestone set to Cloudrexx 5.0
Note: See TracTickets for help on using tickets.