aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php
index e48420fa0..25eb93cac 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -235,7 +235,7 @@ function create_identity($arr) {
// legacy zot
$zsig = base64url_encode(rsa_sign($guid,$key['prvkey']));
- $zhash = make_xchan_hash($guid,$sig);
+ $zhash = make_xchan_hash($guid,$zsig);
// zot6
$sig = Libzot::sign($guid,$key['prvkey']);