runit-man 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/runit-man/app.rb +1 -1
- metadata +2 -2
data/lib/runit-man/app.rb
CHANGED
@@ -175,7 +175,7 @@ class RunitMan < Sinatra::Base
|
|
175
175
|
|
176
176
|
def prepare_to_run
|
177
177
|
unless allowed_users.empty?
|
178
|
-
use Rack::Auth::Basic do |username, password|
|
178
|
+
use Rack::Auth::Basic, 'runit-man' do |username, password|
|
179
179
|
allowed_users.include?(username) && allowed_users[username] == password
|
180
180
|
end
|
181
181
|
end
|