sipcapture / homer-docker

HOMER 10 Docker
GNU Affero General Public License v3.0
13 stars 10 forks source link

Simple Password didn't work while adding new user. #18

Open naqashsaeed opened 4 weeks ago

naqashsaeed commented 4 weeks ago

I am using homer-docker and trying to add new user. So I noticed that if I use simple password of 6 characters (123456) while adding any new user it seems that user is created but it didn't.

However if I use the complex password (Hello;p123456) for same user while adding it create user successfully.

Steps to Reproduce:

1) Go to Admin Settings-------> Users and try to add new user. 2) While adding new user credentials add simple password like 123456 etc. 3) Then click Save, it seems that user is created but it didn't.

(Also try to give complex password then it will create user successfully).

Expected behavior: If I mention any password of max 6 character it have to create user.

adubovikov commented 3 weeks ago

So, this is not the backend... https://github.com/sipcapture/homer-app/blob/master/model/user.go#L25

adubovikov commented 3 weeks ago

https://github.com/sipcapture/homer-app/blob/9e5c7b8c60121ef08e3208468e0c058c279ce40e/data/service/user.go#L96-L124