Skip to content
Snippets Groups Projects
Commit 83a6090d authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[FOLLOWUP][BUGFIX] Prevent out of bounds exception in password generation

This followup prevents an out of bounds exception and
adds a couple of tests for the new functionality.

The min length is now set to 8. This is now also checked
when using the special "random" option.

Resolves: #98540
Releases: main
Change-Id: I5e89813794a0178b7d9c835e89c6272128b4b8c3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76461


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent 3201b1df
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment