chore: temp disable email verification for testing
This commit is contained in:
parent
971c72ada9
commit
f6b28b0ee0
|
@ -135,7 +135,7 @@ func (a AccountAPI) register(jc jape.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
user, err := a.accounts.CreateAccount(request.Email, request.Password, true)
|
||||
user, err := a.accounts.CreateAccount(request.Email, request.Password, false)
|
||||
if err != nil {
|
||||
_ = jc.Error(err, http.StatusUnauthorized)
|
||||
a.logger.Error("failed to update account name", zap.Error(err))
|
||||
|
|
Loading…
Reference in New Issue