the attempt() method will hash the password that is sent in. Seeing as your DB entry’s password is ‘admin’ in plaintext, that would fail. Save your password with Hash::make($password); and your problem should be solved.
auth attempt in laravel get always false
January 30, 2024 in Laravel