diff options
author | friendica <info@friendica.com> | 2013-05-15 02:20:46 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-15 02:20:46 -0700 |
commit | 427b9787d07c729c11d61eb17221cbf7671fcbde (patch) | |
tree | bfec09d7060e08ace6d2316a763a84d64e2dea70 | |
parent | 462f91c2cae070ea4912508ad80f04cb4cd93355 (diff) | |
download | volse-hubzilla-427b9787d07c729c11d61eb17221cbf7671fcbde.tar.gz volse-hubzilla-427b9787d07c729c11d61eb17221cbf7671fcbde.tar.bz2 volse-hubzilla-427b9787d07c729c11d61eb17221cbf7671fcbde.zip |
add magic_auth_complete hook
-rwxr-xr-x | boot.php | 10 | ||||
-rw-r--r-- | mod/post.php | 3 | ||||
-rw-r--r-- | version.inc | 2 |
3 files changed, 9 insertions, 6 deletions
@@ -2,11 +2,11 @@ /** @file */ /** - * Red. + * Red Matrix. * - * Red is an open source decentralised communications platform combined with - * a decentralised identity/authentication framework wrapped in - * an extensible content management system, providing website designers + * The Red Matrix (aka "Red") is an open source decentralised communications + * platform combined with a decentralised identity/authentication framework + * wrapped in an extensible content management system, providing website designers * the ability to embed fully decentralised communications and social tools * into many traditional website designs (blogs, forums, small business * websites, charitable organisations, etc.). Red also provides DNS mobility @@ -38,7 +38,7 @@ require_once('library/Mobile_Detect/Mobile_Detect.php'); require_once('include/BaseObject.php'); require_once('include/features.php'); -define ( 'RED_PLATFORM', 'Red' ); +define ( 'RED_PLATFORM', 'Red Matrix' ); define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'ZOT_REVISION', 1 ); define ( 'DB_UPDATE_VERSION', 1042 ); 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'])); diff --git a/version.inc b/version.inc index 0c3e16439..8fc857f03 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2013-05-14.313 +2013-05-15.314 |