search

Home  >  Q&A  >  body text

Login password What's going on???

Why do I just do md5 in the controller and the page is submitted with the original sound, so I can't log in and it prompts that the password is wrong

ee1841 days ago1421

reply all(9)I'll reply

  • 王老师***

    王老师***2019-12-14 21:41:02

    I also wrote the code according to the course. If the user name, password, and verification code are not entered, there will be a prompt, but if they are entered, no matter whether the input is correct or not, there will be no response at all when clicking

    reply
    0
  • 王老师***

    Is it because the .post transmission data is not transmitted? Ask the teacher for advice

    王老师*** · 2019-12-14 21:46:46
    王老师***

    When debugging with f12 in the browser, the prompt is login:71 Uncaught ReferenceError: reloadImg is not defined

    王老师*** · 2019-12-15 14:03:51
    王老师***

    solved

    王老师*** · 2019-12-15 15:18:35
  • 卢小强

    卢小强2019-11-11 08:49:12

    The submitted password does not use MD5, aren't you verifying it? Can you try comparing it directly with the value in the database?

    reply
    0
  • e

    Enter the password and check it out in the database. The password is the same, but you can’t log in.

    e · 2019-11-11 09:01:48
  • 卢小强

    卢小强2019-11-09 16:03:38

    Did you MD5 the password you entered when logging in and then compare it with the database?

    reply
    0
  • e

    Yes

    e · 2019-11-09 16:04:14
    e

    That's it. I followed the operation in the video and then wrote the password in the data. Then the password never matched.

    e · 2019-11-09 16:06:36
  • Cancelreply