Skip to content

Commit

Permalink
Clarify parameter to 'Auth#register' to omit to disable verification
Browse files Browse the repository at this point in the history
  • Loading branch information
ocram committed Jan 12, 2022
1 parent 0d240e4 commit 79cc249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit 79cc249

Please sign in to comment.