This adds support for the upcoming internal_request Rodauth feature. The following changes are made for internal requests:
base URL defaults are picked up from config.action_mailer.default_url_options
controller callbacks and rescue handlers are skipped during internal requests
view rendering is skipped during internal requests
controller instrumentation is skipped during internal requests
In the future we might deprecate the Rodauth::Rails.rodauth API for creating Rodauth instances in favour of the internal_request feature, but for now we just add a note to the README.
This adds support for the upcoming internal_request Rodauth feature. The following changes are made for internal requests:
config.action_mailer.default_url_options
In the future we might deprecate the
Rodauth::Rails.rodauth
API for creating Rodauth instances in favour of the internal_request feature, but for now we just add a note to the README.The tests also need to be added before merging.