Forum Replies Created
-
Hi Robin W, thank you for providing the above code! It is just what I’ve been looking for!
I have a question. When I was testing, I noticed if I entered invalid login info, there was no redirect or error message, but it did display that in my address bar. What accounts for what happens on login failure?
Here is a sample that displayed in my browser after login failure:
The site I’m testing on is this one:
http://www.rashedlightsways.com
Also, small second question. It happens often that I’m on a site that I *think* I’ve registered on, but haven’t. If someone enters a login that is not correct AND that username doesn’t currently exist, is there a way to redirect to the registration page WITH that username?
So, for example, I type in username: MyFaveUser pw: 1234, and it doesn’t exist in my user table, so the user is redirected to “Hey, MyFaveUser doesn’t exist, but you can register with it! It’s available!” and then autofill the username field with MyFaveUser and leave the pw field blank?
I’ve been trying to bridge together new user registration and login in one field, and thought that might be a way to do it.
Thank you so very much!
– Omar
“Let Your Light Shine”