Home  >  Q&A  >  body text

Password issues when modifying administrator information

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

SiriusSirius1679 days ago984

reply all(1)I'll reply

  • Sirius

    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.

    reply
    0
  • Cancelreply