mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
Remove the access_password site setting
This commit is contained in:
@ -16,12 +16,5 @@ describe RobotsTxtController do
|
||||
response.should render_template :no_index
|
||||
end
|
||||
|
||||
it "serves noindex when in private mode regardless of the configuration" do
|
||||
SiteSetting.stubs(:allow_index_in_robots_txt).returns(true)
|
||||
SiteSetting.stubs(:access_password).returns('adventure time!')
|
||||
get :index
|
||||
response.should render_template :no_index
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user