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

fix(auth): storage PBKDF2 match auth works now

parent 7d1987bf
......@@ -638,7 +638,7 @@ 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 eq 'pbkdf2';
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