mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:29:30 +08:00
fake_success_reponse
=> fake_success_response
This commit is contained in:
parent
a546472775
commit
1884dc8d3f
|
@ -146,7 +146,7 @@ class UsersController < ApplicationController
|
|||
end
|
||||
|
||||
def create
|
||||
return fake_success_reponse if suspicious? params
|
||||
return fake_success_response if suspicious? params
|
||||
|
||||
user = User.new_from_params(params)
|
||||
|
||||
|
@ -337,7 +337,7 @@ class UsersController < ApplicationController
|
|||
honeypot_or_challenge_fails?(params) || SiteSetting.invite_only?
|
||||
end
|
||||
|
||||
def fake_success_reponse
|
||||
def fake_success_response
|
||||
render(
|
||||
json: {
|
||||
success: true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user