0

我在重置密码时遇到了一些问题。我正在构建管理员创建用户的应用程序。当然,他正在使用他看不到的随机密码创建用户。但我想添加“向用户发送重置密码电子邮件”的功能。我的意思是管理员点击该按钮,用户将收到一封包含重置密码链接的电子邮件。对于如何做到这一点的任何建议,我将不胜感激。

4

1 回答 1

0

Rather than reinventing the wheel and since you seem to be fairly early in the development, you should consider switching to FOSUserBundle. It provides all the usual user management features, including resetting passwords.

于 2013-07-14T21:33:29.443 回答