From f83e8c45a0503678fb56176f122eb5dadf559255 Mon Sep 17 00:00:00 2001 From: na-stewart Date: Fri, 22 Nov 2024 01:18:53 -0500 Subject: [PATCH] README.md revision --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23a82b3..8bb012f 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ Verifies the client's account via two-step session code. | **code** | 24KF19 | ```python -@app.post("api/security/verify") +@app.put("api/security/verify") async def on_verify(request): two_step_session = await verify_account(request) return json("You have verified your account and may login!", two_step_session.json) @@ -223,7 +223,7 @@ Fulfills client authentication session's second factor requirement via two-step | **code** | XGED2U | ```python -@app.post("api/security/fulfill-2fa") +@app.put("api/security/fulfill-2fa") async def on_two_factor_authentication(request): authentication_session = await fulfill_second_factor(request) response = json(