servnest/public/auth/index.php

18 lines
470 B
PHP
Raw Normal View History

2022-04-22 23:57:43 +00:00
<?php require "../../common/top.php"; ?>
2021-05-14 19:10:56 +00:00
2021-01-22 20:58:46 +00:00
<?php if (isset($_SESSION['username'])) { ?>
2021-05-14 19:10:56 +00:00
<a class="authButton" href="logout">Se déconnecter</a>
<br>
<a class="authButton" href="password">Changer la clé de passe</a>
2021-01-22 20:58:46 +00:00
<?php } else { ?>
2022-04-18 14:05:00 +00:00
Vous devez être authentifié·e pour utiliser Niver
<br>
<a class="authButton" href="register">Créer un compte</a>
<br>
<a class="authButton" href="login">Se connecter</a>
2021-01-22 20:58:46 +00:00
<?php } ?>
2022-04-22 23:57:43 +00:00
<?php require "../../common/bottom.php"; ?>