aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-10-15 17:29:38 -0700
committerhabeascodice <habeascodice@federated.social>2014-10-15 17:29:38 -0700
commit80eb84e843cdca51bbf4ebda180f4de41351b9c4 (patch)
treed6cd7012210477c6e17322b2d19b8a1aad61ca44 /include/identity.php
parente4880d07d2aa447425d0b7dc3656e84de08006c0 (diff)
parent1eb478ba54206cca53653e7a579aa1a36fb03315 (diff)
downloadvolse-hubzilla-80eb84e843cdca51bbf4ebda180f4de41351b9c4.tar.gz
volse-hubzilla-80eb84e843cdca51bbf4ebda180f4de41351b9c4.tar.bz2
volse-hubzilla-80eb84e843cdca51bbf4ebda180f4de41351b9c4.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/identity.php b/include/identity.php
index 4417f4028..07bfaebbd 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -291,8 +291,8 @@ function create_identity($arr) {
// Create a verified hub location pointing to this site.
$r = q("insert into hubloc ( hubloc_guid, hubloc_guid_sig, hubloc_hash, hubloc_addr, hubloc_flags,
- hubloc_url, hubloc_url_sig, hubloc_host, hubloc_callback, hubloc_sitekey )
- values ( '%s', '%s', '%s', '%s', %d, '%s', '%s', '%s', '%s', '%s' )",
+ hubloc_url, hubloc_url_sig, hubloc_host, hubloc_callback, hubloc_sitekey, hubloc_network )
+ values ( '%s', '%s', '%s', '%s', %d, '%s', '%s', '%s', '%s', '%s', '%s' )",
dbesc($guid),
dbesc($sig),
dbesc($hash),
@@ -302,7 +302,8 @@ function create_identity($arr) {
dbesc(base64url_encode(rsa_sign(z_root(),$ret['channel']['channel_prvkey']))),
dbesc(get_app()->get_hostname()),
dbesc(z_root() . '/post'),
- dbesc(get_config('system','pubkey'))
+ dbesc(get_config('system','pubkey')),
+ dbesc('zot')
);
if(! $r)
logger('create_identity: Unable to store hub location');