diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-23 09:40:35 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-23 09:40:35 +0200 |
commit | 8444bb0600f2432835a7ceaad8c87d4e63f26bd4 (patch) | |
tree | d56ca95f3725c5d52c3088a53d4c85e062f6a783 /index.php | |
parent | e682978e5b5da7c40ffd3854bd35e2d4e28dcdc8 (diff) | |
parent | 37f2773aa548a92456570083abcf9776f5774906 (diff) | |
download | wallabag-8444bb0600f2432835a7ceaad8c87d4e63f26bd4.tar.gz wallabag-8444bb0600f2432835a7ceaad8c87d4e63f26bd4.tar.zst wallabag-8444bb0600f2432835a7ceaad8c87d4e63f26bd4.zip |
Merge branch 'master' of github.com:inthepoche/poche
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']; |