passwordReset()->create([ 'token' => Str::random(60), 'is_expired' => false, 'is_complete' => false ]); return $passwordReset; } catch (QueryException $exception){ throw new MalformedRequestException($exception->getMessage()); } } }