When I register a new user and I want to sign him in by using auth attempt it doesn’t work while the user is saved to database
static function register()
$user = User::create([
'name' => self::$values['name'],
'email' => self::$values['email'],
'password' => Hash::make(self::$values['password'])
Our dedicated development team is here for you!
We can help you find answers to your question for as low as 5$.