Changeset 1172

Show
Ignore:
Timestamp:
08/26/08 12:34:18 (3 months ago)
Author:
mstauber
Message:

[1.0-132BQ36] Small update in manageAdmin.php - Now uses strcasecmp() to check if password equals username in upper and lower case.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 5100R/trunk/ui/base-vsite.mod/Makefile

    r1171 r1172  
    88 
    99VERSION=1.0 
    10 RELEASE=132BQ35 
     10RELEASE=132BQ36 
    1111 
    1212# add a buildarch if desired 
  • 5100R/trunk/ui/base-vsite.mod/templates/rpmdefs.tmpl

    r1171 r1172  
    123123 
    124124<begin $CHANGELOG> 
     125* Tue Aug 26 2008 Michael Stauber <mstauber@solarspeed.net> 1.0-132BQ36 
     126- Small update in manageAdmin.php 
     127- Now uses strcasecmp() to check if password equals username in upper and lower case. 
     128 
    125129* Sat Aug 23 2008 Hisao SHIBUYA <shibuya@bluequartz.org> 1.0-132BQ35 
    126130- use cracklib to check password. 
  • 5100R/trunk/ui/base-vsite.mod/ui/web/manageAdmin.php

    r1171 r1172  
    197197    // Check password 
    198198    // Username = Password? Baaaad idea! 
    199     if ($userName == $password) { 
     199    if (strcasecmp($userName, $password) == 0) { 
    200200        $attributes["password"] = "1"; 
    201201        $error_msg = "[[base-user.error-password-equals-username]] [[base-user.error-invalid-password]]";