about summary refs log tree commit diff stats
path: root/update
diff options
context:
space:
mode:
Diffstat (limited to 'update')
-rw-r--r--update/library/trunk/subscription.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/update/library/trunk/subscription.php b/update/library/trunk/subscription.php index 863c30c..6fe0197 100644 --- a/update/library/trunk/subscription.php +++ b/update/library/trunk/subscription.php
@@ -15,4 +15,12 @@ if ($idusActivationKey[$id] != '')
15 echo('Key: ' . $idusActivationKey[$id] . "\n"); 15 echo('Key: ' . $idusActivationKey[$id] . "\n");
16} 16}
17 17
18if ($idusEncryptionKey[$id] != '')
19{
20 $verID = rand(1,65536);
21
22 echo('Verification: ' . md5($idusSubscriptionTitle[$id] . ':' . md5($idusEncryptionKey[$id]) . ':' . $verID) . "\n");
23 echo('Verification-ID: ' . $verID . "\n");
24}
25
18?> 26?>