PHP password recovery

前端 未结 4 2054
星月不相逢
星月不相逢 2020-12-28 20:32

I realize that for security that passwords should not be stored in a DB as plaintext. If I hash them, I can validate them for login purposes.

But if I want to set u

4条回答
  •  一个人的身影
    2020-12-28 21:00

    You can create a new (and randomly generated) password for user, and md5 it , and then send user via email.

提交回复
热议问题