summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/admin.go b/cmd/admin.go
index 36cac50a47..fcf331751c 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -556,7 +556,7 @@ func runCreateUser(c *cli.Context) error {
// If this is the first user being created.
// Take it as the admin and don't force a password update.
- if n := user_model.CountUsers(); n == 0 {
+ if n := user_model.CountUsers(nil); n == 0 {
changePassword = false
}