mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
FIX: Mods weren't able to see emails in admin user list
This commit is contained in:
@ -34,7 +34,7 @@ class Admin::UsersController < Admin::AdminController
|
||||
|
||||
opts = {}
|
||||
if params[:show_emails] == "true"
|
||||
StaffActionLogger.new(current_user).log_show_emails(users)
|
||||
StaffActionLogger.new(current_user).log_show_emails(users, context: request.path)
|
||||
opts[:emails_desired] = true
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user