Undefined array key 'password' error in Laravel Auth::attempt
I'm encountering an "Undefined array key 'password'" error when trying to log in a user using Laravel's Auth::attempt method. Below is the relevant section of my code: public function register_post(Request $request) { $request->validate([ 'nama_user' => 'required', 'alamat_user' => 'required', 'email_user'…