X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=829d5513542789bf4c220cb457ca22f0f12bb166;hb=8d5aab49c185313338245f9c3a878628e16d7c85;hp=6eefd277e808647b331e42ca4c184cb03a0a38c4;hpb=f0070a15e4725255dad967bde76155a39d189631;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'];