To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Commit bdfe6b3a authored by Reto Da Forno's avatar Reto Da Forno
Browse files

use request URL instead of script name for forwarding

parent a5f78f67
......@@ -54,8 +54,8 @@
// check for login parameters
if (!(isset($_POST['username']) && isset($_POST['password']) && do_login($_POST['username'], $_POST['password']))) {
if (count($_POST)==0)
header('Location: https://'.$hostname.($path == '/' ? '' : $path).'/login.php');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment