X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/f9ade082ba49cf487af31339afa7aeeb0653af57..3f0ffc6181c329dd2c1ee05d220b4b82ea907e36:/www/fork.php diff --git a/www/fork.php b/www/fork.php index 64dceb9..2832fe4 100644 --- a/www/fork.php +++ b/www/fork.php @@ -3,10 +3,8 @@ * Fork a repository */ namespace phorkie; +$pageRequiresLogin = '1'; require_once 'www-header.php'; -if ($GLOBALS['phorkie']['auth']['secure'] > 0) { - include_once 'secure.php'; -} if ($_SERVER['REQUEST_METHOD'] !== 'POST') { throw new Exception_Input('Forking only possible via POST');