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