Check file extensions

This commit is contained in:
2023-12-02 22:29:57 +05:00
parent b780a31a00
commit e940d17bad
9 changed files with 48 additions and 23 deletions

View File

@@ -18,7 +18,7 @@ class PhoneCodeVerification implements ValidationRule
$verification = Verification::where('username', auth()->user()->phone)
->where('code', $value)
->first();
if (! $verification) {
$fail(__('Write a correct data please'));
}