xxxxxxxxxx
if (Auth::attempt(['email' => $email, 'password' => $password])) {
// Foydalanuvchi muvaffaqiyatli kirgani
return redirect('/dashboard');
} else {
// Foydalanuvchi ma'lumotlari noto'g'ri
return back()->withErrors(['email' => 'Email yoki parol xato']);
}