summaryrefslogtreecommitdiff
path: root/actions/userauthorization.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/userauthorization.php')
-rw-r--r--actions/userauthorization.php6
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;
}