Changeset 20 for trunk/services/password.php
- Timestamp:
- Nov 17, 2005 3:00:00 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/password.php
r19 r20 1 1 <?php 2 2 /** 3 * passw d.php3 * password.php 4 4 * Code by Strangecode :: www.strangecode.com :: This document contains copyrighted information 5 5 */ … … 25 25 *****************************************************************************/ 26 26 27 if (getFormData('boomerang', false) ) {27 if (getFormData('boomerang', false) && isset($_SERVER['HTTP_REFERER'])) { 28 28 // We remember which page we came from so we can go back there. 29 App::setBoomerangURL($_SERVER['HTTP_REFERER'], 'admin_passw d');29 App::setBoomerangURL($_SERVER['HTTP_REFERER'], 'admin_password'); 30 30 } 31 31 App::sslOn(); … … 57 57 App::logMsg(sprintf(_("Password change successful for %s"), $auth->getVal('username')), LOG_INFO, __FILE__, __LINE__); 58 58 App::raiseMsg(sprintf(_("Password change successful for %s"), $auth->getVal('username')), MSG_SUCCESS, __FILE__, __LINE__); 59 App::dieBoomerangURL('admin_passw d');59 App::dieBoomerangURL('admin_password'); 60 60 } 61 61 break; … … 64 64 // Templates. 65 65 include 'header.ihtml'; 66 include 'codebase/services/templates/passw d.ihtml';66 include 'codebase/services/templates/password.ihtml'; 67 67 include 'footer.ihtml'; 68 68
Note: See TracChangeset
for help on using the changeset viewer.