From fb76675a28b37b7281546373671d0dabbd69ef46 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 21 Jan 2013 19:56:39 -0800 Subject: now we're into the minor nitty fixes --- mod/post.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/post.php b/mod/post.php index 7a96bcf7a..36b2e1482 100644 --- a/mod/post.php +++ b/mod/post.php @@ -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'])); } } -- cgit v1.2.3