Skip to content

Commit bd02e90

Browse files
committed
more logging
1 parent 5ac9724 commit bd02e90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interface/web/login/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@
292292
header('Location: otp.php');
293293
die();
294294
} else {
295+
$app->auth_log('Successful login for user \''. $username .'\' from '. $_SERVER['REMOTE_ADDR'] .' at '. date('Y-m-d H:i:s') . ' with session ID ' .session_id());
295296
header('Location: ../index.php');
296297
die();
297298
}

0 commit comments

Comments
 (0)