chore: temp disable email verification for testing

This commit is contained in:
Derrick Hammer 2024-03-16 15:43:52 -04:00
parent 971c72ada9
commit f6b28b0ee0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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))