mirror of
https://github.com/grafana/grafana.git
synced 2025-09-27 10:13:43 +08:00
Always return most recently used auth_module from GetAuthInfo
This commit is contained in:
@ -119,7 +119,7 @@ func GetAuthInfo(query *m.GetAuthInfoQuery) error {
|
||||
AuthModule: query.AuthModule,
|
||||
AuthId: query.AuthId,
|
||||
}
|
||||
has, err := x.Get(userAuth)
|
||||
has, err := x.Desc("created").Get(userAuth)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user