interface/web/login/index.php | ●●●●● patch | view | raw | blame | history |
interface/web/login/index.php
@@ -200,6 +200,13 @@ 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; } } else { //* The password is md5 encrypted