diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-08-21 16:45:42 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-08-21 16:45:42 -0400 |
commit | 59beff6b46fb7693812558eaf728ca3709e4b066 (patch) | |
tree | 3a178e7e1a68ce1390d4e6178000f744b38e68b6 /actions/userauthorization.php | |
parent | bacef32aaca791ec5e25bd951094baec0b41df28 (diff) |
Revert "Added configuration option to only allow OpenID logins."
This reverts commit 14b46e2183f10359cc53d597913a878f53e23719.
This functionality will need to be rewritten to work with the new
OpenIDPlugin.
Conflicts:
index.php
lib/logingroupnav.php
Diffstat (limited to 'actions/userauthorization.php')
-rw-r--r-- | actions/userauthorization.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/actions/userauthorization.php b/actions/userauthorization.php index 3e7be9747..cc8bfdaea 100644 --- a/actions/userauthorization.php +++ b/actions/userauthorization.php @@ -63,11 +63,7 @@ class UserauthorizationAction extends Action /* Go log in, and then come back. */ common_set_returnto($_SERVER['REQUEST_URI']); - if (!common_config('site', 'openidonly')) { - common_redirect(common_local_url('login')); - } else { - common_redirect(common_local_url('openidlogin')); - } + common_redirect(common_local_url('login')); return; } |