Opened 5 years ago

Closed 3 years ago

Last modified 20 months 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:
Cc:

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 3 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by thomas.daeppen

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

comment:4 Changed 3 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 3 years ago by berger

row 507 remove

'username'         => $username,

add

'email'         => $username,

row 351 stay

          if ($this->isBackendMode()) {

remove

    $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();

add

       $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();

stay

          } else {

remove

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

add

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

stay

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

Changed 3 years ago by berger

comment:6 Changed 3 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 20 months ago by thomas.daeppen

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