【问题标题】:How to compare the new password with the old at server side in Meteor如何在 Meteor 的服务器端比较新密码和旧密码
【发布时间】:2016-03-13 00:08:24
【问题描述】:

在我的meteor项目中,在重置密码之前,我需要检查新密码是否与旧密码相同。我能怎么做?只是加密新密码或其他更好的主意?

【问题讨论】:

  • 是的,只是在更改之前尝试验证新密码。

标签: meteor meteor-accounts


【解决方案1】:

只需使用Accounts._checkPassword David Weldon's blog

【讨论】:

    猜你喜欢
    • 2014-10-10
    • 2021-09-27
    • 1970-01-01
    • 2017-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-10
    • 1970-01-01
    相关资源
    最近更新 更多