Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #21 from scalp42/master

Fixed example for Rack auth
  • Loading branch information...
commit 85247219ed988e8738cda47d505f72fe17c4ba5c 2 parents b3b9455 + 3d8d6cc
@ejschmitt authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  README.markdown
View
3  README.markdown
@@ -38,8 +38,7 @@ You probably want to password protect the interface, an easy way is to add somet
```ruby
if Rails.env.production?
DelayedJobWeb.use Rack::Auth::Basic do |username, password|
- username == 'username'
- password == 'password'
+ username == 'username' && password == 'password'
end
end
```
Please sign in to comment.
Something went wrong with that request. Please try again.