From 0790f74465b14e2a2f0dff5916c261fba68453eb Mon Sep 17 00:00:00 2001 From: Italo Date: Mon, 1 Nov 2021 15:08:43 -0300 Subject: [PATCH] Added Fortify, Jetstream and Breeze footnotes. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index d639171..e061c05 100644 --- a/README.md +++ b/README.md @@ -173,6 +173,9 @@ public function login(Request $request) Behind the scenes, once the User is retrieved and validated from your guard of choice, it makes an additional check for a valid TOTP code. If it's invalid, it will return false and no authentication will happen. +> For Laravel Breeze, you may need to edit the `LoginRequest::authenticate()` call. +> For Laravel Fortify and Jetstream, you may need to set a custom callback with the `Fortify::authenticateUsing()` method. + #### Separating the TOTP requirement In some occasions you will want to tell the user the authentication failed not because the credentials were incorrect, but because of the TOTP code was invalid.