You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use the 👍 reaction to show that you are affected by the same issue.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
Steps to reproduce
1.Create a user named user1 and another user named u2 (with a username (Display name) of 2 or fewer characters).
2.Log in as user1 and share a password with u2 in Passman.
3.Observe that: u2 appears in the search results but is marked in red and cannot be selected.
4.Rename u2 to user2 (or any username (Display name) with more than 2 characters).
5.Retry sharing the password with user2. Sharing now works as expected.
Expected behaviour
Password sharing should work regardless of the recipient's username (Display name) length.
Actual behaviour
Password sharing fails when the recipient's username (Display name) is 2 or fewer characters. The user is marked in red and cannot be selected, even though they appear in the search results.
akang1798
changed the title
Usernames with 2 or fewer characters cannot receive shared passwords
Usernames (Display name) with 2 or fewer characters cannot receive shared passwords
Jan 1, 2025
How to use GitHub
Steps to reproduce
1.Create a user named user1 and another user named u2 (with a username (Display name) of 2 or fewer characters).



2.Log in as user1 and share a password with u2 in Passman.
3.Observe that: u2 appears in the search results but is marked in red and cannot be selected.
4.Rename u2 to user2 (or any username (Display name) with more than 2 characters).
5.Retry sharing the password with user2. Sharing now works as expected.
Expected behaviour
Password sharing should work regardless of the recipient's username (Display name) length.
Actual behaviour
Password sharing fails when the recipient's username (Display name) is 2 or fewer characters. The user is marked in red and cannot be selected, even though they appear in the search results.
Server configuration
Web server: Nginx 1.26.1
Database: MySQL 8.0.23
PHP version: 8.1.29
Nextcloud version: 30.0.1
Operating System: RockyLinux 9.3
List of activated apps
Nextcloud configuration
Browser
Browser name: Firefox
Browser version: 133.0.3
Operating system: Windows 10
The text was updated successfully, but these errors were encountered: