From 820a7176655e8ea0260276020ed1a7aa1d330cea Mon Sep 17 00:00:00 2001 From: Kevin ANATOLE Date: Sat, 18 Feb 2023 17:27:54 +0000 Subject: [PATCH] Protect methods --- test_requests/login.http | 2 +- test_requests/update_user.http | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_requests/login.http b/test_requests/login.http index 4163c75..4567220 100644 --- a/test_requests/login.http +++ b/test_requests/login.http @@ -3,6 +3,6 @@ content-type: application/json { "email": "test4@yopmail.com", - "password": "yolo" + "password": "safe" } \ No newline at end of file diff --git a/test_requests/update_user.http b/test_requests/update_user.http index be0471f..c7c8426 100644 --- a/test_requests/update_user.http +++ b/test_requests/update_user.http @@ -4,6 +4,6 @@ Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJwaG9lbml4X { "user": { - "password": "safe" + "hashed_password": "safe" } } \ No newline at end of file