aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/post.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/post.php b/mod/post.php
index 5ec7eabca..f48262343 100644
--- a/mod/post.php
+++ b/mod/post.php
@@ -118,6 +118,9 @@ function post_init(&$a) {
// log them in
$_SESSION['authenticated'] = 1;
$_SESSION['visitor_id'] = $x[0]['xchan_hash'];
+ $_SESSION['my_address'] = $address;
+ $arr = array('xchan' => $x[0], 'url' => $desturl);
+ call_hooks('magic_auth_success',$arr);
$a->set_observer($x[0]);
require_once('include/security.php');
$a->set_groups(init_groups_visitor($_SESSION['visitor_id']));