Install and configure Devise for user authentication #149

Merged
bustikiller merged 9 commits from devise into main 2024-11-30 17:50:43 +00:00
Showing only changes of commit ed7207d707 - Show all commits

View File

@ -1,6 +1,7 @@
# Copyright (C) 2024 Manuel Bustillo # Copyright (C) 2024 Manuel Bustillo
class ApplicationController < ActionController::Base class ApplicationController < ActionController::Base
before_action :authenticate_user!
after_action :set_csrf_cookie after_action :set_csrf_cookie
skip_before_action :verify_authenticity_token, if: :development_swagger? skip_before_action :verify_authenticity_token, if: :development_swagger?