diff options
author | Friendika <info@friendika.com> | 2011-08-24 20:40:08 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-24 20:40:08 -0700 |
commit | 8f6ae2b66044a36996ac92a8db1a540db9c71fe3 (patch) | |
tree | 7f09c79da7a8044eb6a242de9dd9fae7b8a647f2 /mod/openid.php | |
parent | 96adbb64572369ab15e2a1da5b44fc7f0dc76aa1 (diff) | |
download | volse-hubzilla-8f6ae2b66044a36996ac92a8db1a540db9c71fe3.tar.gz volse-hubzilla-8f6ae2b66044a36996ac92a8db1a540db9c71fe3.tar.bz2 volse-hubzilla-8f6ae2b66044a36996ac92a8db1a540db9c71fe3.zip |
missing salmon key? report it.
Diffstat (limited to 'mod/openid.php')
-rw-r--r-- | mod/openid.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/openid.php b/mod/openid.php index 6fbd013b8..3c3293147 100644 --- a/mod/openid.php +++ b/mod/openid.php @@ -55,7 +55,8 @@ function openid_content(&$a) { } - $r = q("SELECT * FROM `user` WHERE `openid` = '%s' AND `blocked` = 0 AND `verified` = 1 LIMIT 1", + $r = q("SELECT `user`.*, `user`.`pubkey` as `upubkey`, `user`.`prvkey` as `uprvkey` + FROM `user` WHERE `openid` = '%s' AND `blocked` = 0 AND `verified` = 1 LIMIT 1", dbesc($_SESSION['openid']) ); if(! count($r)) { |