diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-23 08:07:47 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-23 08:07:47 +0200 |
commit | 88958248fab89c8bfa0014c6e4c300cb27a522b2 (patch) | |
tree | c71dee457204bb0ccfe3cf8f44d119644402e665 /index.php | |
parent | 2761de0184d03ad85f69589c379c94049bb43d24 (diff) | |
download | wallabag-88958248fab89c8bfa0014c6e4c300cb27a522b2.tar.gz wallabag-88958248fab89c8bfa0014c6e4c300cb27a522b2.tar.zst wallabag-88958248fab89c8bfa0014c6e4c300cb27a522b2.zip |
message de bienvenue
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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']; |