get rid of openid config file
[phorkie.git] / www / new.php
index ef9daecf50b7c96d89f8bad3921da56070c7ea74..5d370f524344adeafd0d32a0fbc7a6a52d6a68a6 100644 (file)
@@ -10,10 +10,11 @@ namespace phorkie;
  *
  * Creates and redirects to display page
  */
+$pageRequiresLogin = true;
 require_once 'www-header.php';
 
 $repopo = new Repository_Post();
-if ($repopo->process($_POST)) {
+if ($repopo->process($_POST, $_SESSION)) {
     redirect($repopo->repo->getLink('display'));
 }