Check pre-auth before redirecting to login

This commit is contained in:
dpeca 2018-04-10 02:44:02 +02:00 committed by GitHub
commit 84adfcc4ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
<?php
require_once('/usr/local/vesta/web/inc/secure_login.php');
session_start();
if (isset($_SESSION['user'])) {
header("Location: /list/user/");