mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
fix horribly broken invite code, could lead to inviting the wrong person to a conversation
This commit is contained in:
@ -52,11 +52,6 @@ describe Admin::ImpersonateController do
|
||||
session[:current_user_id].should == user.id
|
||||
end
|
||||
|
||||
it "also works with a name" do
|
||||
xhr :post, :create, username_or_email: user.name
|
||||
session[:current_user_id].should == user.id
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user