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