Skip to content

Commit 82dcba5

Browse files
authored
Check secure login on index
1 parent 2404294 commit 82dcba5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

web/index.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,10 @@
66
//} else {
77
// header("Location: /login/");
88
//}
9+
10+
require_once('/usr/local/vesta/web/inc/login_url.php');
11+
if (isset($_GET[$login_url])) {
12+
require_once('/usr/local/vesta/web/inc/secure_login.php');
13+
}
14+
915
header("Location: /webmail/");

0 commit comments

Comments
 (0)