Commit f9aba9ba authored by Lunny Xiao's avatar Lunny Xiao Committed by zeripath
Browse files

fix bug on FindExternalUsersByProvider (#8504)

Showing with 1 addition and 1 deletion
+1 -1
......@@ -159,7 +159,7 @@ func FindExternalUsersByProvider(opts FindExternalUserOptions) ([]ExternalLoginU
var users []ExternalLoginUser
err := x.Where(opts.toConds()).
Limit(opts.Limit, opts.Start).
Asc("id").
OrderBy("login_source_id ASC, external_id ASC").
Find(&users)
if err != nil {
return nil, err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment