diff --git a/app/controllers/auth/confirmations_controller.rb b/app/controllers/auth/confirmations_controller.rb index c3be85f51..dc45531da 100644 --- a/app/controllers/auth/confirmations_controller.rb +++ b/app/controllers/auth/confirmations_controller.rb @@ -11,8 +11,6 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController else respond_with_navigational(resource) { redirect_to after_confirmation_path_for(resource_name, resource) } end - elsif resource.errors.map(&:type).include?(:confirmation_period_expired) - render "devise/confirmations/expired" elsif resource.errors.map(&:type).include?(:already_confirmed) redirect_to user_session_path else