Skip to content

Commit

Permalink
#2914 Reset password isn't working
Browse files Browse the repository at this point in the history
  • Loading branch information
romanlesnikov committed Aug 27, 2020
1 parent 3eda3df commit e0e2161
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -287,7 +287,8 @@ public function performActionResetPassword()
return echoJson(array());

$aRes = array();
if (BxDolAccount::getInstance()->updatePassword(genRndPwd(), $iId)){
$sPwd = genRndPwd();
if (BxDolAccount::getInstance()->updatePassword($sPwd, $iId)){
$sPopupId = $this->_oModule->_oConfig->getHtmlIds('password_popup');
$sPopupTitle = _t('_bx_accounts_form_display_account_settings_password_popup');
$sPopupContent = $this->_oModule->_oTemplate->parseHtmlByName('reset_password.html', array(
Expand Down

0 comments on commit e0e2161

Please sign in to comment.