DefaultPasswordGenerator::$allowedChars
Same name in other branches
- 9 core/lib/Drupal/Core/Password/DefaultPasswordGenerator.php \Drupal\Core\Password\DefaultPasswordGenerator::allowedChars
- 10 core/lib/Drupal/Core/Password/DefaultPasswordGenerator.php \Drupal\Core\Password\DefaultPasswordGenerator::allowedChars
The allowed characters for the password.
Note that the number 0 and the letter 'O' have been removed to avoid confusion between the two. The same is true of 'I', 1, and 'l'.
Type: string
File
-
core/
lib/ Drupal/ Core/ Password/ DefaultPasswordGenerator.php, line 20
Class
- DefaultPasswordGenerator
- Provides a default password generator.
Namespace
Drupal\Core\PasswordCode
protected $allowedChars = 'abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.