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 {