Fix autologin in phar files and subdir installs
authorChristian Weiske <cweiske@cweiske.de>
Fri, 30 Jan 2015 06:40:17 +0000 (07:40 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 30 Jan 2015 06:40:17 +0000 (07:40 +0100)
www/js/autologin.js

index fbe9898..ccd20f2 100644 (file)
@@ -2,7 +2,7 @@ jQuery(function($) {
     document.getElementsByTagName("body")[0]
         .insertAdjacentHTML(
             'beforeend',
     document.getElementsByTagName("body")[0]
         .insertAdjacentHTML(
             'beforeend',
-            '<iframe id="autologin" src="/login.php?autologin=1"'
+            '<iframe id="autologin" src="login.php?autologin=1"'
             + ' width="10" height="10" style="display: none"'
             + '></iframe>'
         );
             + ' width="10" height="10" style="display: none"'
             + '></iframe>'
         );