5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 18:26:21 +00:00
panel/config/initializers/que_web.rb

6 lines
162 B
Ruby
Raw Normal View History

# frozen_string_literal: true
Que::Web.use(Rack::Auth::Basic) do |user, password|
[user, password] == [ENV['HTTP_BASIC_USER'], ENV['HTTP_BASIC_PASSWORD']]
end