aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-22 14:58:12 -0800
committerfriendica <info@friendica.com>2014-02-22 14:58:12 -0800
commit5b4e3f46bca2def72fd2df2651eacdd853892a23 (patch)
treee0ca39f6ab2ce9284eb985c42163396b8ab07625 /mod
parent5dc35bb7f0392903df3cdc600dbb67f5322ec53f (diff)
downloadvolse-hubzilla-5b4e3f46bca2def72fd2df2651eacdd853892a23.tar.gz
volse-hubzilla-5b4e3f46bca2def72fd2df2651eacdd853892a23.tar.bz2
volse-hubzilla-5b4e3f46bca2def72fd2df2651eacdd853892a23.zip
minor stuff, some doco, auth cleanup, and make "unknown" more translateable by context.
Diffstat (limited to 'mod')
-rw-r--r--mod/openid.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/openid.php b/mod/openid.php
index 1ab8749ee..b0d4008d4 100644
--- a/mod/openid.php
+++ b/mod/openid.php
@@ -42,6 +42,7 @@ function openid_content(&$a) {
if(($record['account_flags'] == ACCOUNT_OK) || ($record['account_flags'] == ACCOUNT_UNVERIFIED)) {
logger('mod_openid: openid success for ' . $x[0]['channel_name']);
$_SESSION['uid'] = $r[0]['channel_id'];
+ $_SESSION['account_id'] = $r[0]['channel_account_id'];
$_SESSION['authenticated'] = true;
authenticate_success($record,true,true,true,true);
goaway(z_root());