summaryrefslogtreecommitdiffstats
path: root/cmd/admin_user_create.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/admin_user_create.go')
-rw-r--r--cmd/admin_user_create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/admin_user_create.go b/cmd/admin_user_create.go
index 73afcdcf32..fefe18d39c 100644
--- a/cmd/admin_user_create.go
+++ b/cmd/admin_user_create.go
@@ -156,7 +156,7 @@ func runCreateUser(c *cli.Context) error {
UID: u.ID,
}
- if err := auth_model.NewAccessToken(t); err != nil {
+ if err := auth_model.NewAccessToken(ctx, t); err != nil {
return err
}