Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Zvonimir
ISPConfig 3
Commits
a93bfca5
Commit
a93bfca5
authored
Aug 14, 2014
by
Till Brehm
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'work-3.0.5.4p3' of git.ispconfig.org:pixcept/ispconfig3-mods into work-3.0.5.4p3
parents
fa029ba0
0e73fca2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
interface/web/login/index.php
interface/web/login/index.php
+7
-0
No files found.
interface/web/login/index.php
View file @
a93bfca5
...
...
@@ -197,6 +197,13 @@ class login_index {
//* The password is crypt-md5 encrypted
$salt
=
'$1$'
.
substr
(
$saved_password
,
3
,
8
)
.
'$'
;
if
(
crypt
(
stripslashes
(
$passwort
),
$salt
)
!=
$saved_password
)
{
$user
=
false
;
}
}
elseif
(
substr
(
$saved_password
,
0
,
3
)
==
'$5$'
)
{
//* The password is crypt-sha256 encrypted
$salt
=
'$5$'
.
substr
(
$saved_password
,
3
,
16
)
.
'$'
;
if
(
crypt
(
stripslashes
(
$passwort
),
$salt
)
!=
$saved_password
)
{
$user
=
false
;
}
...
...
Write
Preview
Markdown
is supported
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