]> git.mxchange.org Git - friendica.git/commitdiff
Do not normalize openid url when logging in
authorroot <root@strk.kbt.io>
Tue, 24 May 2016 20:36:51 +0000 (22:36 +0200)
committerroot <root@strk.kbt.io>
Tue, 24 May 2016 20:36:51 +0000 (22:36 +0200)
(since it isn't normalized when setting it via user settings)

NOTE: this broke with 8367cad

mod/openid.php

index 5d5539f00eb4e696429903179c1ae1b8022136d7..bccfcd95c3ce59dd4d4c87f95a6c30a6219224a0 100644 (file)
@@ -18,7 +18,8 @@ function openid_content(&$a) {
 
                if($openid->validate()) {
 
-                       $authid = normalise_openid($_REQUEST['openid_identity']);
+                       #$authid = normalise_openid($_REQUEST['openid_identity']);
+                       $authid = $_REQUEST['openid_identity'];
 
                        if(! strlen($authid)) {
                                logger( t('OpenID protocol error. No ID returned.') . EOL);