mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 17:56:30 -05:00
cc7fa947bf
If the optional config options `config.oauth2.userProfileIdAttr` or `config.oauth2.rolesClaim` were not set, `String.split` was called on `undefined`, triggering a crash. This commit adds handling of these cases and improves error logging in `checkAuthorization`. Fixes #608 Signed-off-by: David Mehren <git@herrmehren.de> |
||
---|---|---|
.. | ||
dropbox | ||
github | ||
gitlab | ||
ldap | ||
mattermost | ||
oauth2 | ||
openid | ||
saml | ||
index.js | ||
utils.js |