/login redirects to / if session is ok
This commit is contained in:
parent
4f73dddc73
commit
73bc3dc993
|
@ -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'])) {
|
||||
|
|
Loading…
Reference in New Issue