Permalink
Browse files

fixed rack auth

  • Loading branch information...
1 parent b3b9455 commit 3d8d6cc6d4bf47491e4f1f4f7895935d6a03c839 @scalp42 scalp42 committed Sep 20, 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 3d8d6cc

Please sign in to comment.