lib/crosstie/templates/authorization/application_controller.rb in crosstie-0.0.6 vs lib/crosstie/templates/authorization/application_controller.rb in crosstie-0.0.7
- old
+ new
@@ -1,6 +1,6 @@
- before_action :authenticate_normal!
+ before_action :authenticate_normal!, unless: :devise_controller?
class AuthenticationError < SecurityError; end
class AuthorizationError < SecurityError; end
rescue_from AuthenticationError do |exception|