X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fopenidlogin.php;h=9b0b1793ca850684f68b3375183468f1c8debb0c;hb=d0559fdf4dafcaf8446b437f4af089c944a23d09;hp=5d0537998d9c366b3471d489d37cc5e989147809;hpb=17504d018083f2a1dd2ea6a7453f0ffa5dddbc0c;p=quix0rs-gnu-social.git diff --git a/actions/openidlogin.php b/actions/openidlogin.php index 5d0537998d..9b0b1793ca 100644 --- a/actions/openidlogin.php +++ b/actions/openidlogin.php @@ -55,10 +55,6 @@ class OpenidloginAction extends Action { # XXX: form token in $_SESSION to prevent XSS # XXX: login throttle $openid_url = $this->trimmed('openid_url'); - if (!common_valid_http_url($openid_url)) { - $this->show_form(_t('OpenID must be a valid URL.')); - return; - } $consumer = oid_consumer(); @@ -133,7 +129,7 @@ class OpenidloginAction extends Action { common_element('script', NULL, '$(document).ready(function() { ' . ' $("#'. $form_id .'").submit(); '. - '}'); + '});'); common_show_footer(); } }