skip to Main Content

This password does not use the Bcrypt algorithm in laravel 10

I use: public function postRegister(Request $request){ $request->validate([ 'Email' => 'required|unique:users,Email', 'Password' => ['required'], ]); $user = new User; $user->Email = $request->Email; $user->Password = Hash::make($request->password); $user->save(); auth()->login($user); return redirect()->route('user.home'); } for my register function in laravel 10. It worked correctly and…

VIEW QUESTION

Php versions – Laravel jobs dont run asynchron

My Laravel Version 10, Jobs do not run asynchron. (The job gets executed but synchron) This is my setup: php artisan queue:table was run php artisan queue:work runs .env QUEUE_CONNECTION=database jobname.php namespace AppJobs; use IlluminateBusQueueable; use AppMailPasswordResetMail; use IlluminateSupportFacadesMail; use…

VIEW QUESTION

Laravel – Login Laravel – Passowrd HashBytes ('mD5')

public function masuk(Request $request) { $this->validate($request, [ 'USERNAME_ACC' => 'required', 'PASSWORD' => 'required' ]); $username=$request->get('USERNAME_ACC'); $password=$request->get('PASSWORD'); // $pass=HASHBYTES('md5',$password); // dd($pass); $cek_user = User::where('USERNAME_ACC',$request->USERNAME_ACC)->where('PASSWORD',DB::raw("HASHBYTES('md5','$password')"))->count(); // dd($result->toArray()); if ($cek_user==0) { return redirect('/login')->with('gagal','Username or Password Not Register'); }else { $user=User::where('USERNAME_ACC',$request->USERNAME_ACC)->where('PASSWORD',DB::raw("HASHBYTES('md5','$password')"))->first(); if (Auth::guard('web')->login($user)) {…

VIEW QUESTION
Back To Top
Search