Changeset 549

Show
Ignore:
Timestamp:
09/14/06 22:52:23 (2 years ago)
Author:
misja
Message:

Moved the md5'ing of the password into auth/internal/lib.php. This will enable other authentication handlers to work with an unmodified password.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/auth/internal/lib.php

    r269 r549  
    44     
    55    return get_record_select('users',"username = ? AND password = ? AND active = ? AND user_type = ? ", 
    6                              array($username,$password,'yes','person')); 
     6                             array($username,md5($password),'yes','person')); 
    77} 
    88 
  • devel/login/index.php

    r544 r549  
    3030 
    3131if (!empty($l) && !empty($p)) { 
    32     $ok = authenticate_account($l, md5($p)); 
     32    $ok = authenticate_account($l, $p); 
    3333    if ($ok) { 
    3434        $messages[] = gettext("You have been logged on.");