feat: WIP mail verification flow
This commit is contained in:
1 parent
8015639db5
commit
ec14eee439
22 files changed
+265
-143
No files matched your search
@@ -11,9 +11,10 @@ type CreateUserUseCase struct {
|
||||
}
|
||||
|
||||
type CreateUserCommand struct {
|
||||
Username string
|
||||
Password string
|
||||
Email string
|
||||
Username string
|
||||
Password string
|
||||
Email string
|
||||
VerificationCode string
|
||||
}
|
||||
|
||||
func NewCreateUserUseCase(db *gorm.DB) *CreateUserUseCase {
|
||||
@@ -27,5 +28,6 @@ func (g *CreateUserUseCase) CreateUser(createUser CreateUserCommand) (user.User,
|
||||
createUser.Username,
|
||||
createUser.Password,
|
||||
createUser.Email,
|
||||
createUser.VerificationCode,
|
||||
))
|
||||
}
|
||||
Reference in new issue
Block a user