Merge pull request #82 from SISheogorath/fix/doubleCount

Fix missing pictures for OpenID
This commit is contained in:
Sheogorath 2019-05-26 22:19:22 +02:00 committed by GitHub
commit e2990c56fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,6 +141,9 @@ module.exports = function (sequelize, DataTypes) {
case 'saml':
photo = generateAvatarURL(profile.username, profile.emails[0], bigger)
break
default:
photo = generateAvatarURL(profile.username)
break
}
return photo
},