API: add login username in SendLoginLogCommand (#28544)

* API: add login username in Login actions

* LoginUser -> LoginUsername

* fix test
This commit is contained in:
Agnès Toulet
2020-10-26 15:47:01 +01:00
committed by GitHub
parent 96e6524a7d
commit 65b5086a59
3 changed files with 14 additions and 11 deletions

View File

@ -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
}
// ----------------------