Added OpenID Authentication
[phorkie.git] / www / revision.php
index 53ac4581b45b379a4d84e5c57b56b9a5d1689a31..06462afa72f9e6af525241a65e2c4700ce212074 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();