Skip to content
Snippets Groups Projects
Commit fbe37237 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo Committed by GitHub
Browse files

Merge pull request #520 from ntoniazzi/bug-apr1crypt

Fix APR1_MD5::check call
parents 69e9aa24 c13ed298
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ class sspmod_authcrypt_Auth_Source_Htpasswd extends sspmod_core_Auth_UserPassBas ...@@ -80,7 +80,7 @@ class sspmod_authcrypt_Auth_Source_Htpasswd extends sspmod_core_Auth_UserPassBas
} }
// Apache's custom MD5 // Apache's custom MD5
if(APR1_MD5::check($crypted, $password)) { if(APR1_MD5::check($password, $crypted)) {
SimpleSAML\Logger::debug('User '. $username . ' authenticated successfully'); SimpleSAML\Logger::debug('User '. $username . ' authenticated successfully');
return $attributes; return $attributes;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment