Admin adds question
clean
clean 2020-03-20 21:13:58
0
2
1093

Excuse me, if you add the interface to the administrator, the modification to the background database has been implemented, and the data in the administrator table can also be added to the database. However, the password written to the database cannot be encrypted by MD5. How can I add it to the html interface? Implement Md5 encryption? And when the administrator added in the front desk logs in, it is still reminded that there is no such user. What to do about this?image.png

image.pngimage.png

clean
clean

reply all (1)
聂亮

2345截图20200405154439.png

Add a setter in the user model

  • reply If you press the video, it should be setPasswordAttr. The field you use is not Pass, so the setPassAttr is not executed.
    DY。 author 2020-05-08 01:22:42
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!