Added OpenID Authentication
[phorkie.git] / www / fork.php
index 799763273667ec8388b1f94e70ab3688c9af60f9..cc2ed33c68de4d754162b4f0e4e81630d8cdcf3f 100644 (file)
@@ -4,6 +4,9 @@
  */
 namespace phorkie;
 require_once 'www-header.php';
+if ($GLOBALS['phorkie']['auth']['secure'] > 0) {
+    require_once 'secure.php';
+}
 
 if ($_SERVER['REQUEST_METHOD'] !== 'POST') {
     throw new Exception_Input('Forking only possible via POST');