get rid of openid config file
[phorkie.git] / www / edit.php
index 226b774e056f5040c6306a1e11aa942662b69341..897aada2b36bf67a2478f4440a91451bf88a107a 100644 (file)
@@ -4,15 +4,12 @@ namespace phorkie;
  * Edit paste contents
  */
 require_once 'www-header.php';
-if ($GLOBALS['phorkie']['auth']['secure'] > 0) {
-    require_once 'secure.php';
-}
 
 $repo = new Repository();
 $repo->loadFromRequest();
 
 $repopo = new Repository_Post($repo);
-if ($repopo->process($_POST)) {
+if ($repopo->process($_POST, $_SESSION)) {
     redirect($repo->getLink('display'));
 }