This commit is contained in:
nurmuhammet committed 2024-02-07 17:49:10 +05:00
1 parent be3828ef1e
commit f665fb4e39
1 file changed
+1 -1
@@ -114,7 +114,7 @@ public function username(): string
protected function validateLogin(Request $request)
{
$request->validate([
$this->username() => ['required', 'string', 'max:250', 'exists:users,username'],
$this->username() => ['required', 'string', 'max:250'],
'password' => ['required', 'string', 'max:250'],
]);
}