Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
ea51b5e4
Unverified
Commit
ea51b5e4
authored
May 15, 2022
by
Helmo
Browse files
Re-add lost logging for loginAs scenario
parent
a316c437
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/login/index.php
View file @
ea51b5e4
...
...
@@ -134,6 +134,8 @@ function process_login_request(app $app, &$error, $conf, $module)
if
(
$loginAs
)
{
echo
'LOGIN_REDIRECT:'
.
$_SESSION
[
's'
][
'module'
][
'startpage'
];
$app
->
plugin
->
raiseEvent
(
'login'
,
$username
);
$app
->
auth_log
(
'Successful login for user \''
.
$username
.
'\' '
.
$msg
.
' from '
.
$_SERVER
[
'REMOTE_ADDR'
]
.
' at '
.
date
(
'Y-m-d H:i:s'
)
.
' with session ID '
.
session_id
());
exit
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment