Changeset 1173
- Timestamp:
- 08/26/08 12:35:35 (4 months ago)
- Files:
-
- 5100R/trunk/ui/base-user.mod/Makefile (modified) (1 diff)
- 5100R/trunk/ui/base-user.mod/templates/rpmdefs.tmpl (modified) (1 diff)
- 5100R/trunk/ui/base-user.mod/ui/web/personalAccountHandler.php (modified) (1 diff)
- 5100R/trunk/ui/base-user.mod/ui/web/userAddHandler.php (modified) (1 diff)
- 5100R/trunk/ui/base-user.mod/ui/web/userModHandler.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
5100R/trunk/ui/base-user.mod/Makefile
r1168 r1173 8 8 9 9 VERSION=1.2.0 10 RELEASE=0BQ 210 RELEASE=0BQ3 11 11 12 12 # add a buildarch if desired 5100R/trunk/ui/base-user.mod/templates/rpmdefs.tmpl
r1168 r1173 109 109 110 110 <begin $CHANGELOG> 111 * Tue Aug 26 2008 Michael Stauber <mstauber@solarspeed.net> 1.2.0-0BQ3 112 - Small update in personalAccountHandler.php, userModHandler.php and userAddHandler.php 113 - Now uses strcasecmp() to check if password equals username in upper and lower case. 114 111 115 * Sat Aug 23 2008 Hisao SHIBUYA <shibuya@bluequartz.org> 1.2.0-0BQ2 112 116 - fixed the issue that handler is in infinite loop when admin user is added. 5100R/trunk/ui/base-user.mod/ui/web/personalAccountHandler.php
r1115 r1173 21 21 22 22 // Username = Password? Baaaad idea! 23 if ( $loginName == $newPasswordField) {23 if (strcasecmp($loginName, $newPasswordField) == 0) { 24 24 $attributes["password"] = "1"; 25 25 $errors[] = new Error("[[base-user.error-password-equals-username]]"); 5100R/trunk/ui/base-user.mod/ui/web/userAddHandler.php
r1117 r1173 124 124 125 125 // Username = Password? Baaaad idea! 126 if ( $userNameField == $passwordField) {126 if (strcasecmp($userNameField, $passwordField) == 0) { 127 127 $attributes["password"] = "1"; 128 128 $errors[] = new Error("[[base-user.error-password-equals-username]]"); 5100R/trunk/ui/base-user.mod/ui/web/userModHandler.php
r1119 r1173 62 62 63 63 // Username = Password? Baaaad idea! 64 if ( $userNameField == $passwordField) {64 if (strcasecmp($userNameField, $passwordField) == 0) { 65 65 $attributes["password"] = "1"; 66 66 $error_msg = "[[base-user.error-password-equals-username]] [[base-user.error-invalid-password]]";
