Upgrade kenton:accounts-sandstorm package to 0.1.6

We now delegates more user attributes sync (avatar and permissions) to
this package instead of doing it ourselves.
This commit is contained in:
Maxime Quandalle 2015-10-21 04:26:16 +02:00
parent 7a5f030cc8
commit 9154b06fc3
4 changed files with 25 additions and 22 deletions

View file

@ -1,7 +1,7 @@
template(name="userAvatar")
a.member.js-member(title="{{userData.profile.fullname}} ({{userData.username}})")
if userData.profile.avatarUrl
img.avatar.avatar-image(src=userData.profile.avatarUrl)
if userData.getAvatarUrl
img.avatar.avatar-image(src=userData.getAvatarUrl)
else
+userAvatarInitials(userId=userData._id)