Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
ef28e40c
Commit
ef28e40c
authored
Aug 15, 2012
by
tbrehm
Browse files
Improved login function.
parent
472c2ccb
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/login/index.php
View file @
ef28e40c
...
...
@@ -185,6 +185,7 @@ class login_index {
$user
=
$app
->
db
->
toLower
(
$user
);
if
(
$loginAs
)
$oldSession
=
$_SESSION
[
's'
];
session_regenerate_id
();
$_SESSION
=
array
();
if
(
$loginAs
)
$_SESSION
[
's_old'
]
=
$oldSession
;
// keep the way back!
$_SESSION
[
's'
][
'user'
]
=
$user
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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