From 5a7677dabb76ba7a29e5bee6da62fae6766881a1 Mon Sep 17 00:00:00 2001 From: navaneeth Date: Mon, 17 May 2021 18:03:28 +0530 Subject: [PATCH] Temporarily disable welcome emails --- app/controllers/authentication_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/authentication_controller.rb b/app/controllers/authentication_controller.rb index d06651bd73..548837d622 100644 --- a/app/controllers/authentication_controller.rb +++ b/app/controllers/authentication_controller.rb @@ -25,7 +25,7 @@ class AuthenticationController < ApplicationController org_user = OrganizationUser.create(user: user, organization: org, role: 'admin') - UserMailer.with(user: user, sender: @current_user).new_signup_email.deliver if org_user.save + # UserMailer.with(user: user, sender: @current_user).new_signup_email.deliver if org_user.save end end end