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
Dirk Dankhoff
ISPConfig 3
Commits
d363fee4
Commit
d363fee4
authored
Sep 05, 2011
by
tbrehm
Browse files
Fixed login problem when password contains '
parent
ced7fc44
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/login/index.php
View file @
d363fee4
...
...
@@ -122,7 +122,7 @@ class login_index {
//* The password is crypt-md5 encrypted
$salt
=
'$1$'
.
substr
(
$saved_password
,
3
,
8
)
.
'$'
;
if
(
crypt
(
$passwort
,
$salt
)
!=
$saved_password
)
{
if
(
crypt
(
stripslashes
(
$passwort
)
,
$salt
)
!=
$saved_password
)
{
$user
=
false
;
}
}
else
{
...
...
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