Commit ed247b3893b8af5bfc266ebc03cc029ca31c800f

Authored by randx
1 parent 2d16585e

resque auth example

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
config/initializers/protect_resque.rb.example 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +require 'resque/server'
  2 +Resque::Server.use(Rack::Auth::Basic) do |user, password|
  3 + user == "gitlab"
  4 + password == "5iveL!fe"
  5 +end
... ...