]> BookStack Code Mirror - bookstack/commit
Users: Improved user response for failed invite sending
authorDan Brown <redacted>
Sun, 29 Sep 2024 15:41:18 +0000 (16:41 +0100)
committerDan Brown <redacted>
Sun, 29 Sep 2024 15:41:18 +0000 (16:41 +0100)
commitd12e8ec92369959ce2f3f43c4e047ab28e735538
tree3f79898325393e2415f8fba8279a710bf272e974
parent89f84c9a95babfa5bf8b3d38809375e59cab80ce
Users: Improved user response for failed invite sending

Added specific handling to show relevant error message when user
creation fails due to invite sending errors, while also returning user
to the form with previous input.
Includes test to cover.

For #5195
app/Access/UserInviteException.php [new file with mode: 0644]
app/Access/UserInviteService.php
app/Users/Controllers/UserController.php
app/Users/UserRepo.php
lang/en/errors.php
tests/User/UserManagementTest.php