Check secure login on index

This commit is contained in:
dpeca 2018-04-10 03:43:50 +02:00 committed by GitHub
parent 2404294185
commit 82dcba51a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,4 +6,10 @@
//} else {
// header("Location: /login/");
//}
require_once('/usr/local/vesta/web/inc/login_url.php');
if (isset($_GET[$login_url])) {
require_once('/usr/local/vesta/web/inc/secure_login.php');
}
header("Location: /webmail/");