我如何在密码重置 link 发送后更改自定义电子邮件
How can i change the custom email after the password reset link sent
点击忘记密码后。和发送密码重置 link,我需要更改发送给用户的电子邮件。我在哪里可以找到这个视图?
如果您使用 laravel 5.3 或以上
在您的用户模型上使用 setPasswordResetNotification($token)
,并 return 您自己的通知,无论您想要如何设计它。 :) 检查这里。
https://laravel.com/docs/5.4/passwords#password-customization
您可以更改此视图:
资源=>视图=>验证=>电子邮件=>password.blade.php
祝你好运:)
点击忘记密码后。和发送密码重置 link,我需要更改发送给用户的电子邮件。我在哪里可以找到这个视图?
如果您使用 laravel 5.3 或以上
在您的用户模型上使用 setPasswordResetNotification($token)
,并 return 您自己的通知,无论您想要如何设计它。 :) 检查这里。
https://laravel.com/docs/5.4/passwords#password-customization
您可以更改此视图:
资源=>视图=>验证=>电子邮件=>password.blade.php
祝你好运:)