hedgedoc/lib
David Mehren 9ab8bf3cac Fix crash in LDAP authentication
Since https://github.com/vesse/node-ldapauth-fork/commit
/741a648df98d789856b3301d65103b74872fdeea, ldapauth-fork calls `push` on
 the attributes array.

 Since we deep-freeze our config object in https://github
 .com/hedgedoc/hedgedoc/blob/master/lib/config/index.js#L200, this
 causes a crash.

 This commit fixes the crash by creating a mutable clone of the LDAP
 config and passing that to the LDAP strategy.

 Fixes https://github.com/hedgedoc/hedgedoc/issues/2561

Signed-off-by: David Mehren <git@herrmehren.de>
2022-08-22 09:01:04 +02:00
..
config Upload file to s3: make public a file on upload and allow to configure destination folder 2022-07-10 17:44:17 +02:00
migrations fix(migrations): Remove unexpected shell call 2022-05-17 14:04:02 +02:00
models Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
ot
web Fix crash in LDAP authentication 2022-08-22 09:01:04 +02:00
workers Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
csp.js
errors.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
history.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
letter-avatars.js
logger.js
prometheus.js
realtime.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
response.js Adapt code for eslint-config-standard 17 2022-05-01 21:19:44 +02:00
utils.js