我试图发送重置链接的电子邮件在我的网站:使用Illuminate\Support\Facades\Password
$response = Password::broker()->sendResetLink( array(
'email'=>$user->email,
));
if ($response == Password::RESET_LINK_SENT) {
return $this->sendResponse(true, 'Reset link was sent successfully');
} else {
return $this->sendError('Reset link not sent - '.$response);
}
我总是面对ParseError
:语法错误,文件中出现意外标记“)":/vendor/symfony/css-selector/XPath/Extension/NodeExtension.php
我在本地用php版本8.0.3和apache服务器上用php版本8.0运行它
1条答案
按热度按时间guykilcj1#
将symfony/css-selector降级到4.4.0版本