Skip to content

Commit

Permalink
fix bug on FindExternalUsersByProvider (#8504)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and zeripath committed Oct 14, 2019
1 parent e3e44a5 commit f9aba9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/external_login_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9aba9b

Please sign in to comment.