Browse Source

Exclude 0 as well from urls

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/258/head
Joas Schilling 9 years ago
parent
commit
f761e252f1
No known key found for this signature in database GPG Key ID: E166FD8976B3BAC8
  1. 2
      lib/Manager.php

2
lib/Manager.php

@ -334,7 +334,7 @@ class Manager {
* @return string
*/
protected function getNewToken() {
$chars = str_replace(['l', '1'], '', ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_DIGITS);
$chars = str_replace(['l', '0', '1'], '', ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_DIGITS);
$entropy = (int) $this->config->getAppValue('spreed', 'token_entropy', 4);
$query = $this->db->getQueryBuilder();

Loading…
Cancel
Save