website: temporary password
This commit is contained in:
parent
2c42d1403d
commit
f68c27dfb2
|
@ -5,6 +5,11 @@ require "rack/contrib/static_cache"
|
||||||
require "rack/contrib/try_static"
|
require "rack/contrib/try_static"
|
||||||
require "rack/protection"
|
require "rack/protection"
|
||||||
|
|
||||||
|
# TEMPORARY!
|
||||||
|
use Rack::Auth::Basic, "Protected Area" do |username, password|
|
||||||
|
username == 'hashiconf' && password == 'ottomation'
|
||||||
|
end
|
||||||
|
|
||||||
# Protect against various bad things
|
# Protect against various bad things
|
||||||
use Rack::Protection::JsonCsrf
|
use Rack::Protection::JsonCsrf
|
||||||
use Rack::Protection::RemoteReferrer
|
use Rack::Protection::RemoteReferrer
|
||||||
|
|
Loading…
Reference in a new issue