HackMD/lib/web/auth
Sheogorath 638eae0dfb
Add check for undefined UUID
This check is needed at there are tons of LDAP implementations out there
and none has at least one guaranteed unique field. As we currently check
three fields and added an option to select one yourself, it's still not
said that any of these fields is set. This will now create an error
and fail the authentication instead of letting people may get access to
other people's notes which are stored under a this way deterministic
wrong userid named `LDAP-undefined`.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-18 00:27:07 +01:00
..
dropbox refactor(app.js, auth.js): Extract all auth method to individual modules 2017-05-08 19:24:38 +08:00
email refactor(app.js, auth.js): Extract all auth method to individual modules 2017-05-08 19:24:38 +08:00
facebook refactor(app.js, auth.js): Extract all auth method to individual modules 2017-05-08 19:24:38 +08:00
github fix: export to gist occurred 404 not found 2017-05-17 02:42:44 +08:00
gitlab refactor(app.js, auth.js): Extract all auth method to individual modules 2017-05-08 19:24:38 +08:00
google Give google the correct name. 2017-09-04 16:04:20 +08:00
ldap Add check for undefined UUID 2018-03-18 00:27:07 +01:00
mattermost Add mattermost authentication 2017-10-31 10:34:51 +01:00
saml added guide for SAML settings 2017-12-04 20:13:15 +09:00
twitter refactor(app.js, auth.js): Extract all auth method to individual modules 2017-05-08 19:24:38 +08:00
index.js Fix uncaught exception for non-existent user 2018-01-30 21:53:36 +01:00
utils.js refactor(app.js, auth.js): Extract all auth method to individual modules 2017-05-08 19:24:38 +08:00