summaryrefslogtreecommitdiff
path: root/lib/web/auth/ldap (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add setting `ldap.usernameField`Lukas Kalbertodt2017-12-091-1/+7
| | | | | | | | This determines which ldap field is used as the username on HackMD. By default, the "id" is used as username, too. The id is taken from the fields `uidNumber`, `uid` or `sAMAccountName`. To give the user more flexibility, they can now choose the field used for the username instead.
* Fix LDAP problem about missing uidNumberSheogorath2017-10-121-2/+3
| | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* refactor(app.js, auth.js): Extract all auth method to individual modulesBoHong Li2017-05-081-0/+74