mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 11:46:22 +00:00
5 lines
184 B
Ruby
5 lines
184 B
Ruby
# frozen_string_literal: true
|
|
|
|
Que::Web.use(Rack::Auth::Basic) do |user, password|
|
|
[user, password] == [ENV.fetch('HTTP_BASIC_USER', nil), ENV.fetch('HTTP_BASIC_PASSWORD', nil)]
|
|
end
|