signup: fix email sent logic for tempuser

Fixes #8656 and properly sets the email_sent and email_sent_on fields
for a tempuser (signup user).
This commit is contained in:
Daniel Lee
2017-06-30 20:21:05 +02:00
parent fb99ddf295
commit b8aa203707
6 changed files with 46 additions and 1 deletions

View File

@@ -60,6 +60,10 @@ type UpdateTempUserStatusCommand struct {
Status TempUserStatus
}
type UpdateTempUserWithEmailSentCommand struct {
Code string
}
type GetTempUsersQuery struct {
OrgId int64
Email string