From f68c27dfb2dc5b7ec6ac63b297a144b358e19df6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 27 Sep 2015 13:30:08 -0700 Subject: [PATCH] website: temporary password --- website/config.ru | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/config.ru b/website/config.ru index 2edfd312e..664e114ec 100644 --- a/website/config.ru +++ b/website/config.ru @@ -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