1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-14 11:47:33 +00:00

Fixes envvar fetch in ntfy user add for password

This commit is contained in:
Kenix3 2022-06-20 14:21:30 -04:00 committed by GitHub
parent 7de7e0de12
commit f3e5961892
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,7 +139,7 @@ Examples:
func execUserAdd(c *cli.Context) error {
username := c.Args().Get(0)
role := auth.Role(c.String("role"))
password := c.String("user")
password := c.String("password")
if username == "" {
return errors.New("username expected, type 'ntfy user add --help' for help")
} else if username == userEveryone {