Skip to content
Snippets Groups Projects
Unverified Commit 0583e08c authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #15115 from nextcloud/fix/noid/do-not-use-spaces-in-passwords

Do not use spaces in generated passwords
parents 46112489 798b267d
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ interface ISecureRandom { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment