Added OpenID Authentication
[phorkie.git] / www / display.php
index c8df8a9963b92ef2e82da0a6d1626f659bb86010..2376d30b58416ec5112c108539161eb7ac4cc5a1 100644 (file)
@@ -4,6 +4,9 @@ namespace phorkie;
  * Display paste contents
  */
 require_once 'www-header.php';
+if ($GLOBALS['phorkie']['auth']['secure'] == 2) {
+    require_once 'secure.php';
+}
 
 $repo = new Repository();
 $repo->loadFromRequest();