Created
August 27, 2014 17:28
-
-
Save kisai/cc4b3c294f30827103e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#source http://stackoverflow.com/questions/12265421/sidekiq-authentication | |
require 'sidekiq' | |
require 'sidekiq/web' | |
Sidekiq::Web.use(Rack::Auth::Basic) do |user, password| | |
[user, password] == ["sidekiqadmin", "yourpassword"] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment