]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/confirmaddress.php
Merge branch '0.8.x' into 0.9.x
[quix0rs-gnu-social.git] / actions / confirmaddress.php
index 2016942862197af7def453190a3429ee17436051..6fd74f3ff7889bf40e55d9df9343edecb0d10e6c 100644 (file)
@@ -67,11 +67,7 @@ class ConfirmaddressAction extends Action
         parent::handle($args);
         if (!common_logged_in()) {
             common_set_returnto($this->selfUrl());
-            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;
         }
         $code = $this->trimmed('code');