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

6 lines
184 B
Ruby
Raw Normal View History

# frozen_string_literal: true
Que::Web.use(Rack::Auth::Basic) do |user, password|
2024-05-02 19:05:35 +00:00
[user, password] == [ENV.fetch('HTTP_BASIC_USER', nil), ENV.fetch('HTTP_BASIC_PASSWORD', nil)]
end