mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Replace TOTP with OTP in locales for more generic error messages
This commit is contained in:
@ -60,7 +60,7 @@ class QrCodecontroller extends Controller
|
||||
catch (AssertionFailedException $exception) {
|
||||
|
||||
$error = \Illuminate\Validation\ValidationException::withMessages([
|
||||
'qrcode' => __('errors.response.no_valid_totp')
|
||||
'qrcode' => __('errors.response.no_valid_otp')
|
||||
]);
|
||||
|
||||
throw $error;
|
||||
|
Reference in New Issue
Block a user