Skip to content

Basic access authentication

Daniel Hanke edited this page Oct 4, 2016 · 1 revision

You can build your custom authorization logic, such as:

RailsAdmin.config do |config|
  config.authenticate_with do
    authenticate_or_request_with_http_basic('Site Message') do |username, password|
      username == 'foo' && password == 'bar'
    end
  end
end
Clone this wiki locally