mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
website: temporary password
This commit is contained in:
@@ -5,6 +5,11 @@ require "rack/contrib/static_cache"
|
||||
require "rack/contrib/try_static"
|
||||
require "rack/protection"
|
||||
|
||||
# TEMPORARY!
|
||||
use Rack::Auth::Basic, "Protected Area" do |username, password|
|
||||
username == 'hashiconf' && password == 'ottomation'
|
||||
end
|
||||
|
||||
# Protect against various bad things
|
||||
use Rack::Protection::JsonCsrf
|
||||
use Rack::Protection::RemoteReferrer
|
||||
|
||||
Reference in New Issue
Block a user