HackMD/lib
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
..
config Merge pull request #761 from SISheogorath/feature/reportURI 2018-03-14 22:10:23 +01:00
migrations Fix field type to prevent data truncation of authorship (#721) 2018-02-09 14:27:06 +01:00
models Fix field type to prevent data truncation of authorship (#721) 2018-02-09 14:27:06 +01:00
ot Remove manual LZString compression for partial socket io event data 2017-01-02 10:52:47 +08:00
web Add check for undefined UUID 2018-03-18 00:27:07 +01:00
workers refactor: Remove require extension filename 2017-05-08 19:29:06 +08:00
csp.js Add config option for report URI in CSP 2018-03-14 17:57:41 +01:00
history.js refactor: Remove require extension filename 2017-05-08 19:29:06 +08:00
letter-avatars.js Use strict mode in all backend files 2017-03-14 13:02:43 +08:00
logger.js refactor(logger): Refactor logger.js 2017-05-08 19:24:37 +08:00
realtime.js don't require referer to find note id in socket.io connections (fixes #623) 2018-02-05 14:26:42 +01:00
response.js Fix to show 500 message when got error in parseNoteId 2018-02-17 00:57:00 +08:00
utils.js switch to __dirname 2017-06-02 11:34:35 +01:00