summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-04 09:00:58 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-04 13:01:23 -0400
commit0616ea020550c2bf3d5ce5e9f6452f9359384146 (patch)
treebf26b6736eb87b449d3b131b6cfdab748c705681 /plugins
parent797f296974e892ab0c6b46586fb5cfc857e0f2a0 (diff)
move check for SSL from util.php to OpenIDPlugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/OpenID/OpenIDPlugin.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php
index 5d600159b..ccbad5ffb 100644
--- a/plugins/OpenID/OpenIDPlugin.php
+++ b/plugins/OpenID/OpenIDPlugin.php
@@ -119,4 +119,17 @@ class OpenIDPlugin extends Plugin
return true;
}
}
-} \ No newline at end of file
+
+ function onSensitiveAction($action, &$ssl)
+ {
+ switch ($action)
+ {
+ case 'finishopenidlogin':
+ case 'finishaddopenid':
+ $ssl = true;
+ return false;
+ default:
+ return true;
+ }
+ }
+}