Automatically approve users for now
This commit is contained in:
parent
986a42c1ac
commit
ec80952ad9
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue