diff --git a/index.html b/index.html index 4398668..b04f824 100644 --- a/index.html +++ b/index.html @@ -105,7 +105,8 @@

You need a password to continue

var password = document.querySelectorAll('[data-id="password"]') function login(secret) { - var hash = sha1(secret) + var prefix = 'protected-github-pages-'; + var hash = sha1(prefix + secret) var url = hash + "/index.html" var alert = document.querySelectorAll('[data-id="alert"]')