includes/sessions.php
changeset 525 3f2dfdb99be4
parent 518 2b826f2640e9
parent 521 d264784355e5
child 536 218a627eb53e
equal deleted inserted replaced
524:26287ae2449d 525:3f2dfdb99be4
   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     {