aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 76526bd5..f2f3b93e 100644
--- a/index.php
+++ b/index.php
@@ -745,6 +745,8 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
745 $PAGE->assign('username', escape($_GET['username'])); 745 $PAGE->assign('username', escape($_GET['username']));
746 } 746 }
747 $PAGE->assign('returnurl',(isset($_SERVER['HTTP_REFERER']) ? escape($_SERVER['HTTP_REFERER']):'')); 747 $PAGE->assign('returnurl',(isset($_SERVER['HTTP_REFERER']) ? escape($_SERVER['HTTP_REFERER']):''));
748 // add default state of the 'remember me' checkbox
749 $PAGE->assign('remember_user_default', $conf->get('privacy.remember_user_default'));
748 $PAGE->renderPage('loginform'); 750 $PAGE->renderPage('loginform');
749 exit; 751 exit;
750 } 752 }