fgrehm / letter_opener_web

A web interface for browsing Ruby on Rails sent emails
MIT License
718 stars 112 forks source link

Add configurable basic authentication #55

Closed shinofumijp closed 6 years ago

shinofumijp commented 8 years ago

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.

pseudomuto commented 6 years ago

This is very old at this point and has no recent activity. I'm going to close it for now. Feel free to open a new issue/PR if this is still a concern.