Browse Source

Correct behaviour of change user command

djsilcock 7 years ago
parent
commit
1a51071546
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/cli/users.py

+ 1 - 1
flaskbb/cli/users.py

@@ -56,7 +56,7 @@ def new_user(username, email, password, group):
 def change_user(username, password, email, group):
     """Updates an user. Omit any options to use the interactive mode."""
 
-    user = prompt_save_user(username, password, email, group)
+    user = prompt_save_user(username, password, email, group, only_update=True)
     if user is None:
         raise FlaskBBCLIError("The user with username {} does not exist."
                               .format(username), fg="red")