反馈 忘记密码功能有错误

zhangjingqiang · 2012年02月10日 · 最后由 zhangjingqiang 回复于 2012年02月14日 · 3206 次阅读

在找回密码页面:

http://ruby-china.org/account/password/new

填入注册邮箱地址,提交后,页面转向到如下 URL:

http://ruby-china.org/account/password

并报错:

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

@zhangjingqiang 额 devise 的密码找回 需要 邮箱 回执的 Devise::PasswordsController#edit is for non-authenticated users who wish to change their password using a reset token. This reset token was previously sent to the user in an email (Reset password instructions). If the user is already logged in, this edit password page will always redirect to the after-sign-in path since it shouldn’t be accessible to authenticated users.

http://jhjguxin.sinaapp.com/2012/01/07/showing-the-devise-edit-password-screen/

现在修好了,这边的问题是 SES 的 SSL 请求无法在盛大云上面通过,目前这个 Ubuntu 版本 SSL 证书有问题。现在邮件发送改成了 sendmail

在日本测试,正常网速下 Firefox 10 浏览器,执行超时: 504 Gateway Time-out nginx/1.0.9

额,sendmail 不行,等另外找时间修复一下。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号