Browse Source

Do not use spaces in generated passwords

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v17.0.0beta1
Morris Jobke 5 years ago
parent
commit
798b267d49
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/public/Security/ISecureRandom.php

+ 1
- 1
lib/public/Security/ISecureRandom.php View File

const CHAR_UPPER = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; const CHAR_UPPER = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
const CHAR_LOWER = 'abcdefghijklmnopqrstuvwxyz'; const CHAR_LOWER = 'abcdefghijklmnopqrstuvwxyz';
const CHAR_DIGITS = '0123456789'; const CHAR_DIGITS = '0123456789';
const CHAR_SYMBOLS = '!\"#$%&\\\'()* +,-./:;<=>?@[\]^_`{|}~';
const CHAR_SYMBOLS = '!\"#$%&\\\'()*+,-./:;<=>?@[\]^_`{|}~';


/** /**
* Characters that can be used for <code>generate($length, $characters)</code>, to * Characters that can be used for <code>generate($length, $characters)</code>, to

Loading…
Cancel
Save