akkounts/app/controllers/application_controller.rb

6 lines
179 B
Ruby

class ApplicationController < ActionController::Base
rescue_from DeviseLdapAuthenticatable::LdapException do |exception|
render :text => exception, :status => 500
end
end