/login redirects to / if session is ok

This commit is contained in:
Bofh 2021-11-27 20:47:05 +01:00
parent 4f73dddc73
commit 73bc3dc993
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
<?php require_once '/src/base.php' ?>
<?php
if ($valid_cookie) {
header('Location: /'); die;
}
$function = null;
$login_method = null;
if (isset($_SERVER['REDIRECT_URL'])) {