Commit d363fee4 authored by tbrehm's avatar tbrehm
Browse files

Fixed login problem when password contains '

parent ced7fc44
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment