From 48da5d3fd494c966104d6764dad3ddd2249279e0 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 26 Mar 2024 20:40:26 -0400 Subject: [PATCH] Revert "chore: temp disable email verification for testing" This reverts commit f6b28b0ee0fff66a6ea18f8a2d473a084a68315b. --- api/account/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/account/account.go b/api/account/account.go index 775824a..93b6f3c 100644 --- a/api/account/account.go +++ b/api/account/account.go @@ -142,7 +142,7 @@ func (a AccountAPI) register(jc jape.Context) { return } - user, err := a.accounts.CreateAccount(request.Email, request.Password, false) + user, err := a.accounts.CreateAccount(request.Email, request.Password, true) if err != nil { _ = jc.Error(err, http.StatusUnauthorized) a.logger.Error("failed to update account name", zap.Error(err))