Always return most recently used auth_module from GetAuthInfo
This commit is contained in:
1 parent
d922285ab8
commit
f17307bb97
2 files changed
+33
-1
No files matched your search
@@ -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