mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 15:41:52 +01:00
Fix avatar support on Sanstorm
The bug comes for 9154b06 which this commit partially reverts. The
synchronization between the user document profile and the Sandstorm
HTTP headers is still not perfect. Having a clean model may requires
the `accounts-sandstorm` to expose a hook to modify the user document
just after the `services.sandstorm` credentials are updated.
Fixes #460
This commit is contained in:
parent
15e692a7d2
commit
0587223489
3 changed files with 16 additions and 16 deletions
|
|
@ -1,7 +1,7 @@
|
|||
template(name="userAvatar")
|
||||
a.member.js-member(title="{{userData.profile.fullname}} ({{userData.username}})")
|
||||
if userData.getAvatarUrl
|
||||
img.avatar.avatar-image(src=userData.getAvatarUrl)
|
||||
if userData.profile.avatarUrl
|
||||
img.avatar.avatar-image(src=userData.profile.avatarUrl)
|
||||
else
|
||||
+userAvatarInitials(userId=userData._id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue