Bug 5066 (Log timestamp consistently in _session_log)
Small fix with thanks to Galen. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
61c7ba4104
commit
1bd67e28e5
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ sub checkauth {
|
|||
( $return, $cardnumber ) = checkpw( $dbh, $userid, $password, $query );
|
||||
}
|
||||
if ($return) {
|
||||
_session_log(sprintf "%20s from %16s logged in at %30s.\n", $userid,$ENV{'REMOTE_ADDR'},localtime);
|
||||
_session_log(sprintf "%20s from %16s logged in at %30s.\n", $userid,$ENV{'REMOTE_ADDR'},(strftime '%c', localtime));
|
||||
if ( $flags = haspermission( $userid, $flagsrequired ) ) {
|
||||
$loggedin = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue