aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-24 22:45:50 -0700
committerzotlabs <mike@macgirvin.com>2017-07-24 22:45:50 -0700
commitddecbf052eabe92f61091bcd2541190b1037e466 (patch)
tree4a800815517f52096cc4847b501c0dbba8bd7bc6 /include
parent6a7fa6bf5414a89c27f4f7d8da1ad8bb33d7c5a1 (diff)
downloadvolse-hubzilla-ddecbf052eabe92f61091bcd2541190b1037e466.tar.gz
volse-hubzilla-ddecbf052eabe92f61091bcd2541190b1037e466.tar.bz2
volse-hubzilla-ddecbf052eabe92f61091bcd2541190b1037e466.zip
new field names did not get saved
Diffstat (limited to 'include')
-rw-r--r--include/zot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index 220292994..33cf1d40d 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3768,7 +3768,7 @@ function zot_rekey_request($sender,$data) {
// oldkey, and if so change all the abook, abconfig, group, and permission elements which reference the
// old xchan_hash.
- if((! $data['oldkey']) && (! $data['oldsig']) && (! $data['newkey']) && (! $data['newsig']))
+ if((! $data['old_key']) && (! $data['new_key']) && (! $data['new_sig']))
json_return_and_die($ret);
$oldhash = make_xchan_hash($data['old_guid'],$data['old_guid_sig']);
@@ -3783,7 +3783,7 @@ function zot_rekey_request($sender,$data) {
$xchan = $r[0];
- if(! rsa_verify($data['newkey'],base64url_decode($data['newsig']),$xchan['xchan_pubkey'])) {
+ if(! rsa_verify($data['new_key'],base64url_decode($data['new_sig']),$xchan['xchan_pubkey'])) {
json_return_and_die($ret);
}