]> BookStack Code Mirror - bookstack/commit
Prevented normal users from changing own email
authorDan Brown <redacted>
Tue, 6 Aug 2019 20:29:42 +0000 (21:29 +0100)
committerDan Brown <redacted>
Tue, 6 Aug 2019 20:29:42 +0000 (21:29 +0100)
commitf417675b1d4987de06698b64c03022f21d4b22d6
tree3336a80713a9618c613d62f438ed4d8f003054d7
parent2955f414ddc29f725fd940febf19894255252875
Prevented normal users from changing own email

To address #1542

Updates to only allow email changes by users with the users-manage role
permission.
app/Http/Controllers/UserController.php
resources/views/form/text.blade.php
resources/views/users/form.blade.php
tests/Permissions/RolesTest.php