aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_session.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_session.inc.php')
-rw-r--r--include/functions_session.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions_session.inc.php b/include/functions_session.inc.php
index aaa07fd07..533e34af3 100644
--- a/include/functions_session.inc.php
+++ b/include/functions_session.inc.php
@@ -71,7 +71,7 @@ function generate_key($size)
str_replace(
array('+', '/'),
'',
- base64_encode(openssl_random_pseudo_bytes($size))
+ base64_encode(openssl_random_pseudo_bytes($size+10))
),
0,
$size
@@ -260,4 +260,4 @@ function pwg_unset_session_var($var)
return true;
}
-?> \ No newline at end of file
+?>