hedgedoc/lib/web
Erik Michelson 6e983ba5dc
Use libravatar image if email address is defined
We use the attribute `emails` (plural) for email addresses with other auth providers like LDAP or SAML. In case of OAuth2 we used the attribute `email` (singular) which resulted in problems.
Furthermore the OAuth2 strategy fell into the default fallback of the provider switch statement. This statement did not check email addresses but did generate the letter-avatar instantly.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-01-07 14:01:32 +01:00
..
auth Use libravatar image if email address is defined 2022-01-07 14:01:32 +01:00
imageRouter Merge branch 'master' into renovate/master-formidable-2.x 2021-12-02 19:59:39 +01:00
middleware Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
note Add better logging messages 2021-03-29 23:07:11 +02:00
baseRouter.js Move note actions to their own file. 2019-10-27 13:51:53 +01:00
historyRouter.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
statusRouter.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
userRouter.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
utils.js Allow posting new note with content 2018-01-18 10:41:58 +01:00