Allow to disable gravatar

Since Gravatar is an external image source and not perfect from a
privacy perspective, forbidding it allows to improve privacy.

This commit also simplifies and optimizes the avatar code.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
Sheogorath 2018-06-23 23:40:46 +02:00
parent a2608c319a
commit 318b2d378f
No known key found for this signature in database
GPG key ID: 1F05CC3635CDDFFD
5 changed files with 23 additions and 27 deletions

View file

@ -146,5 +146,6 @@ module.exports = {
},
email: true,
allowEmailRegister: true,
allowGravatar: true,
allowPDFExport: true
}