diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-08-04 11:16:43 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-08-04 13:01:23 -0400 |
commit | 628a9371082531908a023618ad4216a2f254f481 (patch) | |
tree | f774cee0b667a65f442078b391b8c6dbeefad56f /plugins | |
parent | 4586e15f457706f1f33bda271583b3401803e50e (diff) |
say that it's OK to do OpenID login in private mode
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/OpenID/OpenIDPlugin.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php index 199b1b351..fb6bc5cf8 100644 --- a/plugins/OpenID/OpenIDPlugin.php +++ b/plugins/OpenID/OpenIDPlugin.php @@ -129,4 +129,17 @@ class OpenIDPlugin extends Plugin return true; } } + + function onLoginAction($action, &$login) + { + switch ($action) + { + case 'openidlogin': + case 'finishopenidlogin': + $login = true; + return false; + default: + return true; + } + } } |