diff --git a/app/Models/OAuth2/OAuth2OTP.php b/app/Models/OAuth2/OAuth2OTP.php index 37356cd6..db46b89a 100644 --- a/app/Models/OAuth2/OAuth2OTP.php +++ b/app/Models/OAuth2/OAuth2OTP.php @@ -412,7 +412,7 @@ public function getType(): string return "otp"; } - const VsChar = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + const VsChar = "0123456789"; public function generateValue(): string { diff --git a/resources/js/login/login.js b/resources/js/login/login.js index 9211ff19..c55a4b91 100644 --- a/resources/js/login/login.js +++ b/resources/js/login/login.js @@ -226,6 +226,7 @@ const OTPInputForm = ({ value={otpCode} onChange={onCodeChange} numInputs={otpLength} + inputType="tel" renderInput={(props) => } shouldAutoFocus={true} hasErrored={!otpError}