X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=index.php;h=829d5513542789bf4c220cb457ca22f0f12bb166;hb=6588517b2d46cbc524260758d1fafd92b19ab681;hp=6eefd277e808647b331e42ca4c184cb03a0a38c4;hpb=37c6ed4e7a75238504a28d6be5fbaad475689526;p=github%2Fwallabag%2Fwallabag.git 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'])) { if (!empty($_POST['login']) && !empty($_POST['password'])) { if (Session::login('poche', 'poche', $_POST['login'], $_POST['password'])) { logm('login successful'); + $msg->add('s', 'welcome in your pocket!'); if (!empty($_POST['longlastingsession'])) { $_SESSION['longlastingsession'] = 31536000; $_SESSION['expires_on'] = time() + $_SESSION['longlastingsession'];