feat(signup): progress on new sign up and email verification flow, #2353
This commit is contained in:
@@ -16,7 +16,6 @@ const (
|
||||
TmpUserSignUpStarted TempUserStatus = "SignUpStarted"
|
||||
TmpUserInvitePending TempUserStatus = "InvitePending"
|
||||
TmpUserCompleted TempUserStatus = "Completed"
|
||||
TmpUserEmailPending TempUserStatus = "EmailPending"
|
||||
TmpUserRevoked TempUserStatus = "Revoked"
|
||||
)
|
||||
|
||||
@@ -61,8 +60,9 @@ type UpdateTempUserStatusCommand struct {
|
||||
Status TempUserStatus
|
||||
}
|
||||
|
||||
type GetTempUsersForOrgQuery struct {
|
||||
type GetTempUsersQuery struct {
|
||||
OrgId int64
|
||||
Email string
|
||||
Status TempUserStatus
|
||||
|
||||
Result []*TempUserDTO
|
||||
|
||||
@@ -48,6 +48,7 @@ type CreateUserCommand struct {
|
||||
Login string `json:"login"`
|
||||
Name string `json:"name"`
|
||||
Company string `json:"compay"`
|
||||
OrgName string `json:"orgName"`
|
||||
Password string `json:"password" binding:"Required"`
|
||||
IsAdmin bool `json:"-"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user