Changeset 2443
- Timestamp:
- 09/04/08 23:40:29 (3 months ago)
- Location:
- trunk/htdocs/system/classes
- Files:
-
- 3 modified
-
eventlog.php (modified) (1 diff)
-
user.php (modified) (3 diffs)
-
userthemehandler.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/system/classes/eventlog.php
r2272 r2443 90 90 } 91 91 $log->insert(); 92 if ( LogEntry::severity( $severity ) >= LogEntry::severity( 'warning' ) ) {93 Session::error( $message, $module );94 }95 92 return $log; 96 93 } -
trunk/htdocs/system/classes/user.php
r2414 r2443 220 220 elseif(!is_object($user)) { 221 221 EventLog::log( sprintf(_t('Login attempt (via authentication plugin) for non-existent user %s'), $who), 'warning', 'authentication', 'habari' ); 222 Session::error('Invalid username/password'); 222 223 self::$identity = null; 223 224 return false; … … 235 236 // No such user. 236 237 EventLog::log( sprintf(_t('Login attempt for non-existent user %s'), $who), 'warning', 'authentication', 'habari' ); 238 Session::error('Invalid username/password'); 237 239 self::$identity = null; 238 240 return false; … … 251 253 // Wrong password. 252 254 EventLog::log( sprintf(_t('Wrong password for user %s'), $user->username), 'warning', 'authentication', 'habari' ); 255 Session::error('Invalid username/password'); 253 256 self::$identity = null; 254 257 return false; -
trunk/htdocs/system/classes/userthemehandler.php
r1392 r2443 53 53 catch(Error $e) { 54 54 EventLog::log($e->humane_error(), 'error', 'theme', 'habari', print_r($e, 1) ); 55 Session::error($e->humane_error()); //Should we display any error here? 55 56 if(DEBUG) { 56 57 Utils::debug($e);
