I want to use basic authentication on letter_opener page.
To write an initializer like below, users can set basic authentication on letter_opener page.
config/initializers/letter_opener_web.rb
LetterOpenerWeb.config do |config|
config.authentication_enabled = true
config.authentication_options = { user: 'authuser', pass: 'authpass' }
end
If documentations are needed, I'll write it on README or wiki.
I want to use basic authentication on letter_opener page. To write an initializer like below, users can set basic authentication on letter_opener page.
config/initializers/letter_opener_web.rb
If documentations are needed, I'll write it on README or wiki.