minor stuff, some doco, auth cleanup, and make "unknown" more translateable by context.

This commit is contained in:
friendica
2014-02-22 14:58:12 -08:00
parent 5dc35bb7f0
commit 5b4e3f46bc
3 changed files with 2 additions and 5 deletions

View File

@@ -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());