do not show signed in alert

This commit is contained in:
Alex Turchyn committed 2023-07-16 15:20:26 +03:00
1 parent 4c8e38867a
commit 4c8a706906
2 files changed
+14

No files matched your search

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