mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 23:52:24 +08:00
switch to passing ReqContext as a property
This commit is contained in:
@ -26,6 +26,7 @@ type ExternalUserInfo struct {
|
||||
// COMMANDS
|
||||
|
||||
type UpsertUserCommand struct {
|
||||
ReqContext *ReqContext
|
||||
ExternalUser *ExternalUserInfo
|
||||
SignupAllowed bool
|
||||
|
||||
@ -46,10 +47,11 @@ type DeleteAuthInfoCommand struct {
|
||||
// QUERIES
|
||||
|
||||
type LoginUserQuery struct {
|
||||
Username string
|
||||
Password string
|
||||
User *User
|
||||
IpAddress string
|
||||
ReqContext *ReqContext
|
||||
Username string
|
||||
Password string
|
||||
User *User
|
||||
IpAddress string
|
||||
}
|
||||
|
||||
type GetUserByAuthInfoQuery struct {
|
||||
|
Reference in New Issue
Block a user