Show
Ignore:
Timestamp:
08/20/08 18:14:26 (5 months ago)
Author:
vollmerk
Message:

add some more debug logging to login

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/3.4/login.php

    r1536 r1676  
    6868                                $auth['success'] = false; 
    6969                                Error::add('general',_('User Disabled please contact Admin'));  
     70                                debug_event('Login','Disabled User ' . scrub_out($username) . ' attempted to login, but is disabled','1');  
    7071                } // if user disabled 
     72 
     73                if (!$auth['success']) {  
     74                        debug_event('Login','Login Username / Password Failure:' . scrub_out($username),'5');  
     75                } 
    7176                 
    7277                elseif (!$user->username AND $auth['success']) {