sipcapture / homer-app

HOMER 7.x Front-End and API Server
http://sipcapture.io
GNU Affero General Public License v3.0
204 stars 79 forks source link

Strange username format validation in user settings #470

Closed agrigorjevs closed 8 months ago

agrigorjevs commented 2 years ago

Hello,

We have users created and also LDAP usernames with such format - firstname.lastname. Creation of such usernames is allowed.

But when you try to add a new user setting - it does not allow dot in the usernames.

Screenshot 2022-02-22 at 15 30 04

Also, another thing, which is not related to user settings, but to aliases - is the alias name requirement to have at least 3 symbols - previously it didn't have this validation (or validation as a whole) and we have already alias names with 2 symbols. Is there a reason really to have 3 symbols at least?

adubovikov commented 2 years ago

@AlexeyOplachko can you please fix it ? We have to allow the "." in the username

kYroL01 commented 8 months ago
  1. The issue for "firstname.lastname" is resolved in the last Homer
  2. The minimum number of characters allowed is 3 for security reasons.