From 2f29830ed9e732a584c9bf78cac00c119c80e268 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 10 Mar 2018 03:47:55 +0100 Subject: [PATCH] Improve documentation to use more suitable data source for token --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b1c663c..a2399f7 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ As the next step, users will click on the link that they received. Extract the s If the selector/token pair is valid, let the user choose a new password: ```php -if ($auth->canResetPassword($_POST['selector'], $_POST['token'])) { +if ($auth->canResetPassword($_GET['selector'], $_GET['token'])) { // put the selector into a `hidden` field (or keep it in the URL) // put the token into a `hidden` field (or keep it in the URL)