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