mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Don't check authorization for Devise
This commit is contained in:
parent
fd52433f88
commit
645d475522
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
class ApplicationController < ActionController::Base
|
||||
check_authorization
|
||||
check_authorization unless: :devise_controller?
|
||||
|
||||
# Prevent CSRF attacks by raising an exception.
|
||||
# For APIs, you may want to use :null_session instead.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue