includes/sessions.php
changeset 521 d264784355e5
parent 511 f88c8c79d784
child 525 3f2dfdb99be4
equal deleted inserted replaced
520:4c16e87cfeae 521:d264784355e5
   954         foreach ( $code as $cmd )
   954         foreach ( $code as $cmd )
   955         {
   955         {
   956           eval($cmd);
   956           eval($cmd);
   957         }
   957         }
   958         
   958         
   959         header('Location: ' . makeUrlComplete('Special', 'PasswordReset/stage2/' . $row['user_id'] . '/' . $row['temp_password']) );
   959         return array(
   960         
   960             'success' => false,
   961         exit;
   961             'error' => 'valid_reset',
       
   962             'redirect_url' => makeUrlComplete('Special', 'PasswordReset/stage2/' . $row['user_id'] . '/' . $row['temp_password'])
       
   963           );
   962       }
   964       }
   963     }
   965     }
   964     
   966     
   965     if($row['old_encryption'] == 1)
   967     if($row['old_encryption'] == 1)
   966     {
   968     {