Skip to content

Commit

Permalink
Merge pull request #8098 from fjordllc/feature/skip_basic_auth_in_cal…
Browse files Browse the repository at this point in the history
…endars_controller

ステージング環境でのイベント購読の動作確認のため、一時的にcalendars_controller.rbのBASIC認証を無効化する
  • Loading branch information
komagata authored Sep 30, 2024
2 parents 1c9d951 + e9b6cb6 commit dbdec00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/events/calendars_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

class Events::CalendarsController < ApplicationController
skip_before_action :require_active_user_login, raise: false, only: :index
# ステージング環境での動作確認のため追加、確認後削除予定
skip_before_action :basic_auth, if: :staging?

def index
user_id = params[:user_id]
Expand Down

0 comments on commit dbdec00

Please sign in to comment.