Permalink
Browse files

Merge pull request #21 from scalp42/master

Fixed example for Rack auth
  • Loading branch information...
2 parents b3b9455 + 3d8d6cc commit 85247219ed988e8738cda47d505f72fe17c4ba5c @ejschmitt committed Sep 27, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 README.markdown
View
@@ -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
```

0 comments on commit 8524721

Please sign in to comment.