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:
Krzysztof Kotlarek
2020-10-02 09:01:40 +10:00
committed by GitHub
parent 29f7e0689f
commit 5cf411c3ae
11 changed files with 32 additions and 35 deletions

View File

@ -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",