do not show signed in alert
This commit is contained in:
@@ -13,6 +13,12 @@ class RegistrationsController < Devise::RegistrationsController
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def require_no_authentication
|
||||||
|
super
|
||||||
|
|
||||||
|
flash.clear
|
||||||
|
end
|
||||||
|
|
||||||
def build_resource(_hash = {})
|
def build_resource(_hash = {})
|
||||||
account = Account.new(account_params)
|
account = Account.new(account_params)
|
||||||
account.timezone = Accounts.normalize_timezone(account.timezone)
|
account.timezone = Accounts.normalize_timezone(account.timezone)
|
||||||
|
|||||||
@@ -9,4 +9,12 @@ class SessionsController < Devise::SessionsController
|
|||||||
|
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def require_no_authentication
|
||||||
|
super
|
||||||
|
|
||||||
|
flash.clear
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user