Revert "chore: temp disable email verification for testing"

This reverts commit f6b28b0ee0.
This commit is contained in:
Derrick Hammer 2024-03-26 20:40:26 -04:00
parent 7ba826490e
commit 48da5d3fd4
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ func (a AccountAPI) register(jc jape.Context) {
return return
} }
user, err := a.accounts.CreateAccount(request.Email, request.Password, false) user, err := a.accounts.CreateAccount(request.Email, request.Password, true)
if err != nil { if err != nil {
_ = jc.Error(err, http.StatusUnauthorized) _ = jc.Error(err, http.StatusUnauthorized)
a.logger.Error("failed to update account name", zap.Error(err)) a.logger.Error("failed to update account name", zap.Error(err))