Commit a521e0b
committed
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.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>1 parent f7413b9 commit a521e0b
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
| 676 | + | |
680 | 677 | | |
681 | 678 | | |
682 | 679 | | |
| |||
690 | 687 | | |
691 | 688 | | |
692 | 689 | | |
693 | | - | |
| 690 | + | |
694 | 691 | | |
695 | 692 | | |
696 | 693 | | |
| |||
0 commit comments