Changeset 1677
- Timestamp:
- 08/20/08 19:45:43 (3 months ago)
- Files:
-
- 1 modified
-
trunk/login.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/login.php
r1640 r1677 65 65 $user = User::get_from_username($username); 66 66 67 if (!$auth['succes']) { 68 debug_event('Login',scrub_out($username) . ' attempted to login and failed','1'); 69 } 70 67 71 if ($user->disabled == '1') { 68 $auth['success'] = false; 69 Error::add('general',_('User Disabled please contact Admin')); 72 $auth['success'] = false; 73 Error::add('general',_('User Disabled please contact Admin')); 74 debug_event('Login',scrub_out($username) . ' is disabled and attempted to login','1'); 70 75 } // if user disabled 76 71 77 72 78 elseif (!$user->username AND $auth['success']) {
