Redirect back after rejecting a pending user
What does this MR do and why?
Redirect back instead of the admin_users_path
after a user pending approval is rejected.
Fixes #342845 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Sign in as an admin and select
Require admin approval for new sign-ups
under Admin Area > Settings > General > Sign-up restrictions - Signout
- Register a new user
- Sign in as an admin again and go to Admin Area > Users > Pending Approval
- Reject the user
- Ensure that you stay on the pending approval tab
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #342845 (closed)