do not show signed in alert

This commit is contained in:
Alex Turchyn
2023-07-16 15:11:07 +03:00
parent 4c8e38867a
commit 4c8a706906
2 changed files with 14 additions and 0 deletions
@@ -13,6 +13,12 @@ class RegistrationsController < Devise::RegistrationsController
private
def require_no_authentication
super
flash.clear
end
def build_resource(_hash = {})
account = Account.new(account_params)
account.timezone = Accounts.normalize_timezone(account.timezone)
+8
View File
@@ -9,4 +9,12 @@ class SessionsController < Devise::SessionsController
super
end
private
def require_no_authentication
super
flash.clear
end
end