hedgedoc/lib/web
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
..
auth Add check for undefined UUID 2018-03-18 00:27:07 +01:00
middleware
baseRouter.js
historyRouter.js
imageRouter.js Remove camel case from imageuploadtype in config 2018-01-27 23:50:15 +01:00
noteRouter.js Allow posting new note with content 2018-01-18 10:41:58 +01:00
statusRouter.js
userRouter.js
utils.js Allow posting new note with content 2018-01-18 10:41:58 +01:00