From 8b870567e707a2a028b85e97b3787b41997deb5d Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 4 Apr 2024 19:46:57 +0200 Subject: [PATCH] Update documentation for 'provideOneTimePasswordAsSecondFactor' --- src/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth.php b/src/Auth.php index 264a55d..a932f1f 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -795,7 +795,7 @@ final class Auth extends UserManager { /** * Provides a one-time password as the second factor of authentification after the first factor has already been completed previously * - * Two-factor authentification would previously have been enabled by calling {@see prepareTwoFactorViaTotp} and then {@see enableTwoFactorViaTotp} + * Two-factor authentification would previously have been enabled by calling {@see prepareTwoFactorViaTotp}, {@see prepareTwoFactorViaSms} or {@see prepareTwoFactorViaEmail}, and then {@see enableTwoFactorViaTotp}, {@see enableTwoFactorViaSms} or {@see enableTwoFactorViaEmail} * * @param string $otpValue a one-time password (OTP) that has just been entered by the user * @throws InvalidOneTimePasswordException if the one-time password provided by the user is not valid