User: email verification completion (#85259)
* TempUser: Include InvitedById in TempUserDTO * Extract email verfication completion flow to service
This commit is contained in:
@@ -82,7 +82,8 @@ type UpdateUserCommand struct {
|
||||
Login string `json:"login"`
|
||||
Theme string `json:"theme"`
|
||||
|
||||
UserID int64 `json:"-"`
|
||||
UserID int64 `json:"-"`
|
||||
EmailVerified *bool `json:"-"`
|
||||
}
|
||||
|
||||
type ChangeUserPasswordCommand struct {
|
||||
@@ -220,12 +221,16 @@ type GetUserByIDQuery struct {
|
||||
ID int64
|
||||
}
|
||||
|
||||
type VerifyEmailCommand struct {
|
||||
type StartVerifyEmailCommand struct {
|
||||
User User
|
||||
Email string
|
||||
Action UpdateEmailActionType
|
||||
}
|
||||
|
||||
type CompleteEmailVerifyCommand struct {
|
||||
Code string
|
||||
}
|
||||
|
||||
type ErrCaseInsensitiveLoginConflict struct {
|
||||
Users []User
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user