mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 05:02:35 +08:00
API: add login username in SendLoginLogCommand (#28544)
* API: add login username in Login actions * LoginUser -> LoginUsername * fix test
This commit is contained in:
@ -66,12 +66,13 @@ type DeleteAuthInfoCommand struct {
|
||||
}
|
||||
|
||||
type SendLoginLogCommand struct {
|
||||
ReqContext *ReqContext
|
||||
LogAction string
|
||||
User *User
|
||||
ExternalUser *ExternalUserInfo
|
||||
HTTPStatus int
|
||||
Error error
|
||||
ReqContext *ReqContext
|
||||
LogAction string
|
||||
User *User
|
||||
ExternalUser *ExternalUserInfo
|
||||
LoginUsername string
|
||||
HTTPStatus int
|
||||
Error error
|
||||
}
|
||||
|
||||
// ----------------------
|
||||
|
Reference in New Issue
Block a user