now we're into the minor nitty fixes

This commit is contained in:
friendica
2013-01-21 19:56:39 -08:00
parent 4119e1f9cc
commit fb76675a28
4 changed files with 7 additions and 6 deletions

View File

@@ -87,8 +87,9 @@ function post_init(&$a) {
$_SESSION['authenticated'] = 1;
$_SESSION['visitor_id'] = $x[0]['xchan_hash'];
$a->set_observer($x[0]);
require_once('include/security.php');
$a->set_groups(init_groups_visitor($_SESSION['visitor_id']));
notice(sprintf( t('Welcome %s. Remote authentication successful.'),$x[0]['xchan_name']));
info(sprintf( t('Welcome %s. Remote authentication successful.'),$x[0]['xchan_name']));
}
}