diff --git a/index.php b/index.php index 6eefd27..829d551 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']; diff --git a/tpl/home.html b/tpl/home.html index e99e168..90e247f 100644 --- a/tpl/home.html +++ b/tpl/home.html @@ -1,6 +1,6 @@
-

logo pochepoche

+

logo pochepoche