Automatically approve users for now

This commit is contained in:
Ben Visness 2021-09-22 23:57:14 -05:00
parent 986a42c1ac
commit ec80952ad9
1 changed files with 2 additions and 1 deletions

View File

@ -372,7 +372,8 @@ func EmailConfirmationSubmit(c *RequestContext) ResponseData {
SET status = $1 SET status = $1
WHERE id = $2 WHERE id = $2
`, `,
models.UserStatusConfirmed, // models.UserStatusConfirmed,
models.UserStatusApproved, // TODO: Change this back to Confirmed after the jam.
validationResult.User.ID, validationResult.User.ID,
) )
if err != nil { if err != nil {