diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2013-04-22 23:34:55 -0700 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2013-04-22 23:34:55 -0700 |
commit | 37f2773aa548a92456570083abcf9776f5774906 (patch) | |
tree | d56ca95f3725c5d52c3088a53d4c85e062f6a783 /index.php | |
parent | 37c6ed4e7a75238504a28d6be5fbaad475689526 (diff) | |
parent | 69ca1455d13e27de9e3f506f294010889a560fb9 (diff) | |
download | wallabag-37f2773aa548a92456570083abcf9776f5774906.tar.gz wallabag-37f2773aa548a92456570083abcf9776f5774906.tar.zst wallabag-37f2773aa548a92456570083abcf9776f5774906.zip |
Merge pull request #74 from inthepoche/dev
v0.2.1
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']; |