]> git.mxchange.org Git - friendica.git/blobdiff - mod/openid.php
Merge pull request #3349 from annando/1704-api-owner
[friendica.git] / mod / openid.php
index 59a7530140fcac1ed0727c7c33700cdb4e4dda10..b45cd97975e3f7b838b3eb2283cafcd74a4d9f3c 100644 (file)
@@ -30,7 +30,7 @@ function openid_content(App $a) {
                        //       mod/settings.php in 8367cad so it might have left mixed
                        //       records in the user table
                        //
-                       $r = q("SELECT * FROM `user`
+                       $r = q("SELECT *, `user`.`pubkey` as `upubkey`, `user`.`prvkey` as `uprvkey` FROM `user`
                                WHERE ( `openid` = '%s' OR `openid` = '%s' )
                                AND `blocked` = 0 AND `account_expired` = 0
                                AND `account_removed` = 0 AND `verified` = 1