FIX: login - sreg/ax default, identifier renamed to openid_url
[phorkie.git] / www / new.php
index fc6d5f38b196b9810e9af438cd5b8ba377e80293..0675b4d3b0d1d8c78edff6b228f895da3d144935 100644 (file)
@@ -12,11 +12,11 @@ namespace phorkie;
  */
 require_once 'www-header.php';
 if ($GLOBALS['phorkie']['auth']['secure'] > 0) {
-    require_once 'secure.php';
+    include_once 'secure.php';
 }
 
 $repopo = new Repository_Post();
-if ($repopo->process($_POST)) {
+if ($repopo->process($_POST, $_SESSION)) {
     redirect($repopo->repo->getLink('display'));
 }