Browse Source

Check pre-auth before redirecting to login

dpeca 8 years ago
parent
commit
84adfcc4ed
1 changed files with 1 additions and 0 deletions
  1. 1 0
      web/index.php

+ 1 - 0
web/index.php

@@ -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/");