Commit edb043f4 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

fix(auth): storage PBKDF2 match auth works now

parent caf805f7
......@@ -550,7 +550,8 @@ sub _match_password {
return Authen::Passphrase->from_rfc2307($password_ldap)->match($password)
if $storage =~ /rfc2307|md5/i;
return _match_pbkdf2($password_ldap,$password) if $storage =~ /pbkdf2|SSHA/i;
return _match_pbkdf2($password_ldap,$password) if $storage eq 'PBKDF2';
return _match_ssha($password_ldap,$password) if $storage eq 'SSHA';
confess "Error: storage $storage can't do match. Use bind.";
}
......
Supports Markdown
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