From 16e202630eaf7fd915479ef0977e664abb9ab3b8 Mon Sep 17 00:00:00 2001 From: Franzz Date: Sat, 5 Oct 2019 00:57:38 +0200 Subject: [PATCH] temp fix for db restore --- scripts/common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/common.js b/scripts/common.js index de567bc..7ba1bf1 100644 --- a/scripts/common.js +++ b/scripts/common.js @@ -282,7 +282,8 @@ function setElem(anchor, path, value) function getLoginToken(sPass) { if(!window.location.origin) window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: ''); - return md5(sPass+window.location.origin+window.location.pathname); + //return md5(sPass+window.location.origin+window.location.pathname); + return md5(sPass+'http://localhost/catc/'); } var defaultDiacriticsRemovalap = [