Merge pull request #82 from SISheogorath/fix/doubleCount
Fix missing pictures for OpenID
This commit is contained in:
commit
e2990c56fd
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue