Laravel 5.1 如何构建忘记密码功能
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/41935051/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Laravel 5.1 How to build forgot password functionality
提问by J.Alan
I am using laravel 5.1 and I do not know how I should built in the functionality that a user can reset his / her password.
我正在使用 laravel 5.1,我不知道我应该如何构建用户可以重置他/她的密码的功能。
Typing the mail address and getting a route to reset and submit a new password.
键入邮件地址并获取重置和提交新密码的路径。
I could not find a good tutorial for this purpose so I ask here.
我找不到为此目的的好教程,所以我在这里问。
采纳答案by Gayan
You can make use of laravel authentication - reset passwordfeature for that. The document is self-explanatory.
您可以为此使用Laravel 身份验证 - 重置密码功能。该文件是不言自明的。