wmo-im / wis2box

WIS2 in a box is a reference implementation of a WMO WIS2 Node
https://docs.wis2box.wis.wmo.int
Apache License 2.0
40 stars 16 forks source link

The `.htpasswd/webapp` user database should not be destroyed and re-created at startup #791

Open nimhbg opened 1 month ago

nimhbg commented 1 month ago

In the case where multiple team members use the wis2box webapp it is desirable that each one has their own http basic authentication credentials for accessing the webapp.

An advanced admin may have created user entries in .htpasswd/webapp in addition to the one defined in wis2box.env using the htpasswd command appropriately. Those entries will be destroyed by entrypoint.sh (here) when the wis2box-management container is restarted or re-created. It should be enough to just reset the password of the user defined in wis2box.env