mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Add Suspend User to flags page
This commit is contained in:
@ -67,7 +67,8 @@ class Admin::UsersController < Admin::AdminController
|
||||
user_history = StaffActionLogger.new(current_user).log_user_suspend(
|
||||
@user,
|
||||
params[:reason],
|
||||
context: message
|
||||
context: message,
|
||||
post_id: params[:post_id]
|
||||
)
|
||||
end
|
||||
@user.logged_out
|
||||
|
Reference in New Issue
Block a user