Automatic md5 encryption of written passwords has been set up in the model. When editing administrator information, if the password is not changed, the original password will be encrypted by md5 again when the update operation is performed, resulting in an incorrect password. Is there any good solution? Solution
Sirius2020-04-08 15:07:35
If you think it’s complicated, just add a separate password update. Determine whether the password is 32 digits. If it is not 32 digits, it means you have entered a new password. At this time, just perform an MD5 encryption update.