Merge branch 'master' into remotefork
[phorkie.git] / www / fork.php
index 64dceb92a860ea9ce869d1012722fb8c53c8d784..6c96a6acb3b85d2918bcf12c10a353c1ddc53b41 100644 (file)
@@ -3,10 +3,8 @@
  * Fork a repository
  */
 namespace phorkie;
+$reqWritePermissions = true;
 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');