aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-23 08:07:47 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-23 08:07:47 +0200
commit88958248fab89c8bfa0014c6e4c300cb27a522b2 (patch)
treec71dee457204bb0ccfe3cf8f44d119644402e665 /index.php
parent2761de0184d03ad85f69589c379c94049bb43d24 (diff)
downloadwallabag-88958248fab89c8bfa0014c6e4c300cb27a522b2.tar.gz
wallabag-88958248fab89c8bfa0014c6e4c300cb27a522b2.tar.zst
wallabag-88958248fab89c8bfa0014c6e4c300cb27a522b2.zip
message de bienvenue
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 6eefd277..829d5513 100644
--- a/index.php
+++ b/index.php
@@ -27,6 +27,7 @@ if (isset($_GET['login'])) {
27 if (!empty($_POST['login']) && !empty($_POST['password'])) { 27 if (!empty($_POST['login']) && !empty($_POST['password'])) {
28 if (Session::login('poche', 'poche', $_POST['login'], $_POST['password'])) { 28 if (Session::login('poche', 'poche', $_POST['login'], $_POST['password'])) {
29 logm('login successful'); 29 logm('login successful');
30 $msg->add('s', 'welcome in your pocket!');
30 if (!empty($_POST['longlastingsession'])) { 31 if (!empty($_POST['longlastingsession'])) {
31 $_SESSION['longlastingsession'] = 31536000; 32 $_SESSION['longlastingsession'] = 31536000;
32 $_SESSION['expires_on'] = time() + $_SESSION['longlastingsession']; 33 $_SESSION['expires_on'] = time() + $_SESSION['longlastingsession'];