mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
website: remove basic auth
This commit is contained in:
@@ -4,11 +4,6 @@ require "rack/contrib/response_headers"
|
|||||||
require "rack/contrib/static_cache"
|
require "rack/contrib/static_cache"
|
||||||
require "rack/contrib/try_static"
|
require "rack/contrib/try_static"
|
||||||
|
|
||||||
# TODO: Remove for launch
|
|
||||||
use Rack::Auth::Basic, "Restricted Area" do |username, password|
|
|
||||||
[username, password] == ["vault", "urUdt7U2aiepNKeTbCzJCd"]
|
|
||||||
end
|
|
||||||
|
|
||||||
# Properly compress the output if the client can handle it.
|
# Properly compress the output if the client can handle it.
|
||||||
use Rack::Deflater
|
use Rack::Deflater
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user