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
1 changed files with 3 additions and 0 deletions

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
},