Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change account password. #46

Open
huxuan opened this issue Apr 1, 2015 · 1 comment
Open

Change account password. #46

huxuan opened this issue Apr 1, 2015 · 1 comment
Assignees

Comments

@huxuan
Copy link
Member

huxuan commented Apr 1, 2015

Controller
View

also need to included in head_nav

@JeldorPKU JeldorPKU changed the title Change account password Change account profile. Apr 14, 2015
@huxuan huxuan changed the title Change account profile. Change account password. Apr 16, 2015
@JeldorPKU
Copy link
Contributor

增加user控制器方法 user/changePassword,设置三个输入框:

  1. 旧密码;
  2. 新密码;
  3. 新密码确认;
    增加user_model下的新接口:changePassword($newPwd),更改密码。

另外在登录页面设置忘记密码的按钮,点击后让他们输入注册用的邮箱,发送一个链接过去,设置一个随机密码并发送到邮箱,之后用修改密码的方式对密码进行修改即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants