sipcapture / homer

HOMER - 100% Open-Source SIP, VoIP, RTC Packet Capture & Monitoring
https://sipcapture.org
GNU Affero General Public License v3.0
1.66k stars 244 forks source link

Web UI possiility to reset password on first sign-in and maybe delete support user #628

Closed os11k closed 7 months ago

os11k commented 10 months ago

Hi,

Homer7 web UI has a bit of outdated for username/password setup, which is basically hardcoded to be admin/sipcapture. Would be very nice to have possibility to set it up from variable in docker-compose as for Grafana or DB and maybe force to change on first sign in. Additionally would be nice to have such option for a user, when you create user, add checkbox to force user to reset.

I'm not sure why support user is there, but I think it must be disabled by default, I think sometimes it maybe overlooked and left there with default password on...

lmangani commented 10 months ago

There's no real hardcoded parameters, but rather a script with defaults you can change and customize in your own build. homer-app is the process creating and managing users and user authentication as per readme

You can essentially create a setup without any default users, and then create them with your own logic/values/

This being said, internal user management is very basic indeed. Any contributions are welcome or you can use external auth.

Edit: if you need suggestions let us know or join up the matrix channel to discuss it