switch to passing ReqContext as a property

This commit is contained in:
Dan Cech
2018-03-23 15:50:07 -04:00
parent e53315dce8
commit d837be91ec
13 changed files with 75 additions and 54 deletions

View File

@ -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 {