Yii2 email registration, the first successful, the second will not work, but the password retrieval function was released

Source: Internet
Author: User
I set up the mail registration function with yii2-user components, the first time I registered with QQ mail, succeeded. However, when I tried to register another one, I found that the email was released. When I got a signup, I refreshed the registration page without prompting me. I didn't see anything about the debug logs, I thought it could be the code that was written later... I set up the mail registration function with yii2-user components, the first time I registered with QQ mail, succeeded. However, when I tried to register another one, I found that the email was released. I refreshed the registration page with a sign up and didn't prompt me. I didn't see anything about the debug logs, I thought it was probably because the inverted configuration was incorrect when I wrote the code later, but I tried the password retrieval function with the account I registered for the first time, and successfully sent and received the code.

Reply content:

I set up the mail registration function with yii2-user components, the first time I registered with QQ mail, succeeded. However, when I tried to register another one, I found that the email was released. I refreshed the registration page with a sign up and didn't prompt me. I didn't see anything about the debug logs, I thought it was probably because the inverted configuration was incorrect when I wrote the code later, but I tried the password retrieval function with the account I registered for the first time, and successfully sent and received the code.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.