mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 06:38:20 +08:00
FIX: move hp request from /users to /token (#10795)
`hp` is a valid username and we should not prevent users from registering it.
This commit is contained in:

committed by
GitHub

parent
29f7e0689f
commit
5cf411c3ae
@ -416,7 +416,7 @@ export function applyDefaultHandlers(pretender) {
|
||||
pretender.post("/u/action/send_activation_email", success);
|
||||
pretender.put("/u/update-activation-email", success);
|
||||
|
||||
pretender.get("/u/hp.json", function () {
|
||||
pretender.get("/session/hp.json", function () {
|
||||
return response({
|
||||
value: "32faff1b1ef1ac3",
|
||||
challenge: "61a3de0ccf086fb9604b76e884d75801",
|
||||
|
Reference in New Issue
Block a user