]> source.dussan.org Git - nextcloud-server.git/commit
Don't use slow hashing to check the LDAP binding 32284/head
authorCarl Schwan <carl@carlschwan.eu>
Mon, 2 May 2022 19:46:42 +0000 (21:46 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 5 May 2022 16:59:49 +0000 (16:59 +0000)
commit22831d27e4a152116faadf6c9d0177354ed9cab6
tree1b3fbea56e36f9a936083b8abd1fc247415e037e
parent0b7cc5f9605d7e29a95b4e49ebfd56250d89d5e3
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