Revert "chore: temp disable email verification for testing"
This reverts commit f6b28b0ee0
.
This commit is contained in:
parent
7ba826490e
commit
48da5d3fd4
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue