mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 02:04:53 +08:00
allow staff members to view staged accounts user card/profile
This commit is contained in:
@ -6,7 +6,7 @@ class UserActionsController < ApplicationController
|
||||
|
||||
per_chunk = 60
|
||||
|
||||
user = fetch_user_from_params
|
||||
user = fetch_user_from_params(include_inactive: current_user.try(:staff?))
|
||||
|
||||
opts = { user_id: user.id,
|
||||
user: user,
|
||||
|
Reference in New Issue
Block a user