Skip to content

Redirect back after rejecting a pending user

Sanad Liaquat requested to merge 342845-shl-fix-reload-on-user-reject into master

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.

  1. Sign in as an admin and select Require admin approval for new sign-ups under Admin Area > Settings > General > Sign-up restrictions
  2. Signout
  3. Register a new user
  4. Sign in as an admin again and go to Admin Area > Users > Pending Approval
  5. Reject the user
  6. 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.

Related to #342845 (closed)

Edited by Sanad Liaquat

Merge request reports