gitlabhq/config/initializers/protect_resque.rb

6 lines
130 B
Ruby
Raw Normal View History

2012-06-21 16:23:51 +02:00
require 'resque/server'
Resque::Server.use(Rack::Auth::Basic) do |user, password|
user == "gitlab"
password == "5iveL!fe"
end