mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Improve Sandstorm usernames management
We now use the `preferredHandle` exposed by Sandstorm as source for the username and append a number if the username is already taken since we need to ensure username uniqueness (eg 'max', 'max1', 'max2') Fixes #352
This commit is contained in:
parent
fc82f7227a
commit
cb3bd86396
3 changed files with 30 additions and 7 deletions
|
|
@ -89,7 +89,7 @@ template(name="addMemberPopup")
|
|||
a.name.js-select-member(title="{{profile.name}} ({{username}})")
|
||||
+userAvatar(userId=_id esSearch=true)
|
||||
span.full-name
|
||||
= profile.name
|
||||
= profile.fullname
|
||||
| (<span class="username">{{username}}</span>)
|
||||
if isBoardMember
|
||||
.quiet ({{_ 'joined'}})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue