This commit is contained in:
nurmuhammet committed 2023-12-03 15:37:42 +05:00
1 parent 4ef7c7f71f
commit 5f506bab65
1 file changed
+1 -1
@@ -28,7 +28,7 @@ public function store(Request $request)
$request->validate([
'username' => ['required', 'string', 'max:250', 'exists:users,username'],
'verification' => ['nullable', 'integer', 'digits:5'],
'password' => ['nullable', 'string', 'min:8', 'confirmed'],
'password' => ['bail', 'nullable', 'string', 'min:8', 'confirmed'],
]);
if ($request->filled('verification')) {