mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Auth: Change query limit in auth_session.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
21c58e638a
commit
d9b3d4c2aa
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ func DeleteClientSessions(client *Client, authMethod authn.MethodType, limit int
|
|||
q = q.Where("auth_method = ?", authMethod.String())
|
||||
}
|
||||
|
||||
q = q.Order("created_at DESC").Limit(2147483648).Offset(limit)
|
||||
q = q.Order("created_at DESC").Limit(1000000000).Offset(limit)
|
||||
|
||||
found := Sessions{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue