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