diff options
Diffstat (limited to 'routers/user/setting/security.go')
-rw-r--r-- | routers/user/setting/security.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/setting/security.go b/routers/user/setting/security.go index f8f5cc0cd8..c7c3226c9b 100644 --- a/routers/user/setting/security.go +++ b/routers/user/setting/security.go @@ -71,7 +71,7 @@ func loadSecurityData(ctx *context.Context) { ctx.Data["RequireU2F"] = true } - tokens, err := models.ListAccessTokens(ctx.User.ID) + tokens, err := models.ListAccessTokens(ctx.User.ID, models.ListOptions{}) if err != nil { ctx.ServerError("ListAccessTokens", err) return |