From 79cc24931811f01a207cf0eb36b71cb84c71390b Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 12 Jan 2022 14:55:18 +0100 Subject: [PATCH] Clarify parameter to 'Auth#register' to omit to disable verification --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d92f46..8598499 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ For email verification, you should build an URL with the selector and token and $url = 'https://www.example.com/verify_email?selector=' . \urlencode($selector) . '&token=' . \urlencode($token); ``` -If you don’t want to perform email verification, just omit the last parameter to `Auth#register`. The new user will be active immediately, then. +If you don’t want to perform email verification, just omit the last parameter to `Auth#register`, i.e. the [anonymous function or closure](https://www.php.net/manual/functions.anonymous.php). The new user will be active immediately, then. Need to store additional user information? Read on [here](#additional-user-information).