Replace TOTP with OTP in locales for more generic error messages

This commit is contained in:
Bubka
2020-02-05 17:17:25 +01:00
parent 56447c7ad5
commit af9e6e13da
5 changed files with 5 additions and 5 deletions

View File

@ -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;