resque auth example
This commit is contained in:
parent
2d16585eae
commit
ed247b3893
1 changed files with 5 additions and 0 deletions
5
config/initializers/protect_resque.rb.example
Normal file
5
config/initializers/protect_resque.rb.example
Normal file
|
@ -0,0 +1,5 @@
|
|||
require 'resque/server'
|
||||
Resque::Server.use(Rack::Auth::Basic) do |user, password|
|
||||
user == "gitlab"
|
||||
password == "5iveL!fe"
|
||||
end
|
Loading…
Reference in a new issue