hedgedoc/lib/models
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
..
author.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
index.js Add help link and short explanation for failing migrations 2021-07-21 00:06:07 +02:00
note.js Fix Relative Path Traversal Attack on note creation 2021-04-25 20:40:17 +02:00
revision.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
temp.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
user.js Use libravatar image if email address is defined 2022-01-07 14:01:32 +01:00