aboutsummaryrefslogtreecommitdiff
path: root/www/edit.php
diff options
context:
space:
mode:
authorJustin J. Novack <jnovack@gmail.com>2012-09-16 01:17:46 -0400
committerJustin J. Novack <jnovack@gmail.com>2012-09-16 01:17:46 -0400
commita73791f16d10ea0e2c477f29d9049d75516aa774 (patch)
treec5cc7406b5710804600477a45d20fa21815c67a3 /www/edit.php
parentb0687c328fcaa4d891b31c2146694654cd4707c9 (diff)
downloadphorkie-a73791f16d10ea0e2c477f29d9049d75516aa774.tar.gz
phorkie-a73791f16d10ea0e2c477f29d9049d75516aa774.zip
Added OpenID Authentication
Diffstat (limited to 'www/edit.php')
-rw-r--r--www/edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/edit.php b/www/edit.php
index 562c97c..226b774 100644
--- a/www/edit.php
+++ b/www/edit.php
@@ -4,6 +4,9 @@ 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();