2019-07-19から1日間の記事一覧
Basic認証の処理を書く class ApplicationController < ActionController::Base before_action :basic_auth protect_from_forgery with: :exception private def basic_auth authenticate_or_request_with_http_basic do |username, password| username == E…