mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Check pre-auth before redirecting to login
This commit is contained in:
parent
a260e0c6b7
commit
84adfcc4ed
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
require_once('/usr/local/vesta/web/inc/secure_login.php');
|
||||||
session_start();
|
session_start();
|
||||||
if (isset($_SESSION['user'])) {
|
if (isset($_SESSION['user'])) {
|
||||||
header("Location: /list/user/");
|
header("Location: /list/user/");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue