]> source.dussan.org Git - nextcloud-server.git/commit
Don't use slow hashing to check the LDAP binding 32246/head
authorCarl Schwan <carl@carlschwan.eu>
Mon, 2 May 2022 19:46:42 +0000 (21:46 +0200)
committerCarl Schwan <carl@carlschwan.eu>
Thu, 5 May 2022 14:29:38 +0000 (16:29 +0200)
commit95b5187300a1ace0878e135ce98b1558c1a04355
tree6532ff41f474abb2d5c0c37b7c6ad199ebf7e469
parentf7413b9afc2a29bef64f2cc207b318308cb6ebef
Don't use slow hashing to check the LDAP binding

Using password_hash is expensive and should be used for hashing
passwords when saving them in the database. Here we just want to see if
the bind was already done with the given password, so use a fast hashing
algorythm.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
apps/user_ldap/lib/Connection.php