do not show signed in alert
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -9,4 +9,12 @@ class SessionsController < Devise::SessionsController
|
||||
|
||||
super
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def require_no_authentication
|
||||
super
|
||||
|
||||
flash.clear
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user