Changeset 1394
- Timestamp:
- 06/25/09 14:52:10 (3 years ago)
- Location:
- trunk/wifidog-auth
- Files:
-
- 2 modified
-
CHANGELOG (modified) (1 diff)
-
wifidog/lost_password.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/CHANGELOG
r1393 r1394 1 1 # $Id$ 2 2009-06-25 Benoit Grégoire <benoitg@coeus.ca> 3 * Fix #559 4 2 5 2009-06-23 Benoit Grégoire <benoitg@coeus.ca> 3 6 * Commit another slightly modified patch contributed by Zap Sherbrooke: Allow generating publicly accessible statistics for the various nodes. Enabled node per node. Note that a cron must be setup for those stats to actually be generated. -
trunk/wifidog-auth/wifidog/lost_password.php
r1391 r1394 114 114 * Get a list of users associated with either a username of an e-mail 115 115 */ 116 if ($username) { 116 if ($username && $email){ 117 throw new Exception(_("Please specify EITHER your username or your email, not both")); 118 } 119 else if ($username) { 117 120 $user = User::getUserByUsernameAndOrigin($username, $account_origin); 118 121 } 119 120 if ($email) { 122 else if ($email) { 121 123 $user = User::getUserByEmailAndOrigin($email, $account_origin); 124 } 125 else { 126 throw new Exception(_("You need to specify your username or your email")); 122 127 } 123 128
