From f3e59618921e02ad35e046e2ac86e1561dd85564 Mon Sep 17 00:00:00 2001 From: Kenix3 Date: Mon, 20 Jun 2022 14:21:30 -0400 Subject: [PATCH] Fixes envvar fetch in ntfy user add for password --- cmd/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/user.go b/cmd/user.go index d4d543fe..f94f6250 100644 --- a/cmd/user.go +++ b/cmd/user.go @@ -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 {