From 6a11dc2d58601fdecc2f492988e3c2a6dbc2d6af Mon Sep 17 00:00:00 2001 From: Curtis Gibby Date: Mon, 26 Nov 2018 15:07:59 -0700 Subject: [PATCH] Fix misspelling on "whose" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b17e47f..c0dd126 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ The authentication class checks for the token in two locations: You can use `\Firebase\JWT\JWT::encode()` of the [firebase/php-jwt](https://github.com/firebase/php-jwt) lib, which this plugin depends on, to generate tokens. -**The payload should have the "sub" (subject) claim whos value is used to query the +**The payload should have the "sub" (subject) claim whose value is used to query the Users model and find record matching the "id" field.** You can set the `queryDatasource` option to `false` to directly return the token's