]> BookStack Code Mirror - bookstack/commit
fix(User Creation): do not persist the user if invitation fails 3179/head
authorjulesdevops <redacted>
Wed, 19 Jan 2022 19:46:38 +0000 (20:46 +0100)
committerjulesdevops <redacted>
Wed, 19 Jan 2022 19:46:38 +0000 (20:46 +0100)
commitc9beacbfbf54b965a924a1efdb312390a207639c
tree3d32b65f4dc0f069268c30a7be6d95f72df32176
parent2aace1670478b8f2c25cbd95bb4edba004e8ccbb
fix(User Creation): do not persist the user if invitation fails

- Wrap the user creation process in a transaction
- Add test
app/Http/Controllers/UserController.php
tests/User/UserManagementTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.