Fix random "access to this resource is secured against CSRF" message at logout (#1490641)

- this is when openssl module is not installed
pull/324/head
Aleksander Machniak 9 years ago
parent db76c50a7c
commit 3f6fbdcc6d

@ -2,6 +2,7 @@ CHANGELOG Roundcube Webmail
===========================
- Fix random "access to this resource is secured against CSRF" message at logout (#1490641)
- Fix missing language name in "Add to Dictionary" request in HTML mode (#1490634)
- Enable use of TLSv1.1 and TLSv1.2 for IMAP (#1490640)

@ -1164,7 +1164,7 @@ class rcube_utils
}
}
else {
$alpha = 'ABCDEFGHIJKLMNOPQERSTUVXYZabcdefghijklmnopqrtsuvwxyz0123456789+*%&?!$-_=';
$alpha = 'ABCDEFGHIJKLMNOPQERSTUVXYZabcdefghijklmnopqrtsuvwxyz0123456789,*.:?!$-_=';
$random = '';
for ($i = 0; $i < $length; $i++) {

Loading…
Cancel
Save