FIX: Revamped security measures
[phorkie.git] / www / fork.php
index 64dceb92a860ea9ce869d1012722fb8c53c8d784..2832fe4e60fa32c1d5c1f2f85f06e3c91cb4e858 100644 (file)
@@ -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');