1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remember to add access protection

This commit is contained in:
David Heinemeier Hansson 2018-09-18 16:08:42 -07:00
parent 4a9b45ce22
commit 31ff0f7b6c

View file

@ -1,3 +1,4 @@
# TODO: Add access protection using basic auth with verified tokens. Maybe coming from credentials by default?
class ActionMailroom::InboundEmailsController < ActionController::Base
skip_forgery_protection
before_action :require_rfc822_message