Fix #105 Return 404 and not 403 on POST...

This commit is contained in:
Timothée Jaussoin 2023-05-29 12:47:50 +00:00
parent ec1bdba376
commit 30b8e492d8
2 changed files with 2 additions and 2 deletions

View file

@ -83,6 +83,6 @@ class CreationTokenController extends Controller
return $accountCreationToken;
}
return abort(403);
return abort(404);
}
}

View file

@ -108,7 +108,7 @@ JSON parameters:
<span class="badge badge-success">Public</span>
Create an `account_creation_token` using an `account_creation_request_token`.
Return an `account_creation_token`.
Return `403` if the `account_creation_request_token` provided is not valid or expired otherwise.
Return `404` if the `account_creation_request_token` provided is not valid or expired otherwise.
JSON parameters: