Merge pull request #15115 from nextcloud/fix/noid/do-not-use-spaces-in-passwords
Do not use spaces in generated passwords
This commit is contained in:
commit
0583e08c30
|
@ -45,7 +45,7 @@ interface ISecureRandom {
|
||||||
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…
Reference in New Issue