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
🐞 Describe the bug
I have ntfy running in a docker container (fly.io) and was adding a 2nd user via terminal inside of the docker container. Running the change-pass function with the ntfy server client was never asking for a password. I didn't realize that I had set the ENV variable for this, to run on the initial setup, but after the initial setup it never gets used. This created a silent failure (on my part) that whenever I try to change any user password, it always uses the original ENV variable.
💻 Components impacted
ntfy server/user auth
💡 Screenshots and/or logs
ntfy user change-pass testuser
changed password for user testuser
This leads to a slightly confusing silent password change, it might be worth adding some output to the user.go code to reflect when its using the env variable, since it can be a bit confusing why its not prompting for the password like you would expect?
🔮 Additional context
The text was updated successfully, but these errors were encountered:
🐞 Describe the bug
I have ntfy running in a docker container (fly.io) and was adding a 2nd user via terminal inside of the docker container. Running the change-pass function with the ntfy server client was never asking for a password. I didn't realize that I had set the ENV variable for this, to run on the initial setup, but after the initial setup it never gets used. This created a silent failure (on my part) that whenever I try to change any user password, it always uses the original ENV variable.
💻 Components impacted
ntfy server/user auth
💡 Screenshots and/or logs
This leads to a slightly confusing silent password change, it might be worth adding some output to the user.go code to reflect when its using the env variable, since it can be a bit confusing why its not prompting for the password like you would expect?
🔮 Additional context
The text was updated successfully, but these errors were encountered: