Fix post-sync login

This commit is contained in:
2019-10-05 17:18:28 +02:00
parent 4e1738a427
commit 9a77c20cc6
4 changed files with 19 additions and 11 deletions

View File

@@ -282,8 +282,7 @@ 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+'http://localhost/catc/');
return md5(sPass+window.location.origin+window.location.pathname);
}
var defaultDiacriticsRemovalap = [