Alibabacloud.com offers a wide variety of articles about mobile focus authentication failed, easily find your mobile focus authentication failed information here online.
failure is not only the user name or password error, there should be other situations, it is more common, the user has been locked, the user does not exist, please register first.So how to distinguish this situation, how to put the login form verification failure of the more detailed status to the user. After a period of research, spring boot has been found to provide a more perfect solution, and its secret is in the spring security configuration. The spring security configuration in my project
came to spit this function, the original e-mail account opened Imap/pop3/smtp, but in the test process to the three services closed, resulting in my account must be bound to a mobile phone number, but also the default opening of the mobile phone 163 mailbox, the original happy to use the mailbox password login foxmail, Now you can only use a bunch of dog-poo-long client authorization codes.Strengthening se
Mobile phone Message verification login, posted out to facilitate later viewing. The required program staff can learn from. Registration is also the logic of this set.
//Foreground code
//js code get Authenticode
function U_mobilereg (self) {
var form = $ (self). Parents (' form '), mobile = Form.find (' input[name= ' mobile] '). Val ();
if (
The test focus for viewing on the mobile client:1, "Click to load More" page processing technology, whether there is duplicate data, the data display is complete, to reach the last page after the data to display2. How to sort data2, the interface jump is correct3, if there is an abnormal situation is prompted, whether to jump to the default page has been set, such as the network is not connected, the data
mobile phone number is not required options, and can be managed in the background, and these options in the Ecshop data table Esc_reg_fields table, so the reference to detect the method of email failed!Second, the solutionBy viewing the Code of the page, when the user clicks the Register button, there is a return register (), the method in the Js/user.js file, so we can start from this method, after verify
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.