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':
|
case 'saml':
|
||||||
photo = generateAvatarURL(profile.username, profile.emails[0], bigger)
|
photo = generateAvatarURL(profile.username, profile.emails[0], bigger)
|
||||||
break
|
break
|
||||||
|
default:
|
||||||
|
photo = generateAvatarURL(profile.username)
|
||||||
|
break
|
||||||
}
|
}
|
||||||
return photo
|
return photo
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue