aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2017-08-27 16:36:53 +0200
committerGitHub <noreply@github.com>2017-08-27 16:36:53 +0200
commite4ed3a46b7029eeed757daf33596eb5d345c32b5 (patch)
treeefce8e24dbe264c2dac554e6838f7bbf35e80e4b /index.php
parentfc27141cf6eb04d3d8714385cb6961a8063fe61b (diff)
parent2e07e77573a379f9af006b2c523117eef9fdf9b2 (diff)
downloadShaarli-e4ed3a46b7029eeed757daf33596eb5d345c32b5.tar.gz
Shaarli-e4ed3a46b7029eeed757daf33596eb5d345c32b5.tar.zst
Shaarli-e4ed3a46b7029eeed757daf33596eb5d345c32b5.zip
Merge pull request #944 from thewilli/configure-rememberme
new setting: default value for 'remember me' checkbox
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 7df6d819..e0a7b416 100644
--- a/index.php
+++ b/index.php
@@ -737,6 +737,8 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
737 $PAGE->assign('username', escape($_GET['username'])); 737 $PAGE->assign('username', escape($_GET['username']));
738 } 738 }
739 $PAGE->assign('returnurl',(isset($_SERVER['HTTP_REFERER']) ? escape($_SERVER['HTTP_REFERER']):'')); 739 $PAGE->assign('returnurl',(isset($_SERVER['HTTP_REFERER']) ? escape($_SERVER['HTTP_REFERER']):''));
740 // add default state of the 'remember me' checkbox
741 $PAGE->assign('remember_user_default', $conf->get('privacy.remember_user_default'));
740 $PAGE->renderPage('loginform'); 742 $PAGE->renderPage('loginform');
741 exit; 743 exit;
742 } 744 }