]> BookStack Code Mirror - bookstack/commit
Users: Changed name validation to min:1 instead of 2
authorDan Brown <redacted>
Tue, 15 Oct 2024 10:07:41 +0000 (11:07 +0100)
committerDan Brown <redacted>
Tue, 15 Oct 2024 10:07:41 +0000 (11:07 +0100)
commit6f1c54d018f7d55301eb4c31055b04769f5924d7
tree182efdc7f944684bbb6b2f24c27b2e1957a0f80f
parent4dc75bad05558385832c6cca2133b569c3dccc79
Users: Changed name validation to min:1 instead of 2

Would cause scenarios where users could be created with 1 char, but then
fail to update due to validation differences.
Added test to cover.
For #5263
app/Users/Controllers/UserApiController.php
app/Users/Controllers/UserController.php
tests/User/UserManagementTest.php