Require user authentication by default
This commit is contained in:
parent
13bdaf0bd2
commit
ed7207d707
@ -1,6 +1,7 @@
|
||||
# Copyright (C) 2024 Manuel Bustillo
|
||||
|
||||
class ApplicationController < ActionController::Base
|
||||
before_action :authenticate_user!
|
||||
after_action :set_csrf_cookie
|
||||
|
||||
skip_before_action :verify_authenticity_token, if: :development_swagger?
|
||||
|
Loading…
x
Reference in New Issue
Block a user