diff options
Diffstat (limited to 'includes/util/functions.inc')
-rw-r--r-- | includes/util/functions.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/util/functions.inc b/includes/util/functions.inc index 9727b51..3d84bb7 100644 --- a/includes/util/functions.inc +++ b/includes/util/functions.inc @@ -25,7 +25,7 @@ if (!function_exists("formatPonypush")) { if (!function_exists("generateToken")) { function generateToken(): string { - return bin2hex(random_bytes(32)); + return str_replace("/", ".", base64_encode(random_bytes(96))); } } |