-
- Downloads
Allow admins to stop impersonating users without e-mail addresses
Resolves #24576 Modify the guard clause of the `ApplicationController#require_email` before action to skip requests where an admin is impersonating the current user.
Showing
- app/controllers/application_controller.rb 1 addition, 1 deletionapp/controllers/application_controller.rb
- changelogs/unreleased/24576_cant_stop_impersonating.yml 4 additions, 0 deletionschangelogs/unreleased/24576_cant_stop_impersonating.yml
- spec/controllers/admin/impersonations_controller_spec.rb 21 additions, 7 deletionsspec/controllers/admin/impersonations_controller_spec.rb
Please register or sign in to comment