diff options
author | friendica <info@friendica.com> | 2013-11-20 15:20:12 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-20 15:20:12 -0800 |
commit | d7ee552c570f4fca760c3d1573f32c005cf73bb8 (patch) | |
tree | a5020a1a27472fe889d773a5e4e2b410930ceda7 /mod/register.php | |
parent | f6c41e61ace7260dde49125487f9ec7142f48e4f (diff) | |
download | volse-hubzilla-d7ee552c570f4fca760c3d1573f32c005cf73bb8.tar.gz volse-hubzilla-d7ee552c570f4fca760c3d1573f32c005cf73bb8.tar.bz2 volse-hubzilla-d7ee552c570f4fca760c3d1573f32c005cf73bb8.zip |
Protocol: now set data['alg'] on all encapsulated encrypted packets, so that we can more easily retire 'aes256cbc' once it is no longer viable.
Diffstat (limited to 'mod/register.php')
-rw-r--r-- | mod/register.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/register.php b/mod/register.php index bc1603f25..2040732ff 100644 --- a/mod/register.php +++ b/mod/register.php @@ -7,6 +7,14 @@ function register_init(&$a) { $result = null; $cmd = ((argc() > 1) ? argv(1) : ''); + // Provide a stored request for somebody desiring a connection + // when they first need to register someplace. Once they've + // created a channel, we'll try to revive the connection request + // and process it. + + if($_REQUEST['connect']) + $_SESSION['connect'] = $_REQUEST['connect']; + switch($cmd) { case 'invite_check.json': $result = check_account_invite($_REQUEST['invite_code']); |