I'm trying to redirect failed logins but, when I enter a nonsense login name and password, I get a message stating "your account is still awaiting validation, you cannot login yet." It then takes me to the successful user login redirect.
Two things here: obviously I'd like to get the redirect working properly. The other issue is the message that appears about the account awaiting validation. I'd much rather have something saying "no match for that username/password combination," where can I change these messages?
Just to be clear, I am using the redirects page in the admin panel. I've tried tweaking all the usergroup settings (I don't validate any members) but, I still get the awaiting validation message. Maybe I need to mess with the database field for validation....
(on second thought, that won't do anything. the usernames & passwords I've been entering don't exist in the database and, I'm still getting that message)
It shouldn't have worked for logging in, it's hard to see how it would. $userpassword is not a field name, it comes from the form element being submitted.
I agree, I got kinda worried about that. I made several attempts to login using just a username and/or an incorrect password and it would not allow me access. Still, very strange. I had been logging in using that encoder up until the point I realized the solution to the redirect issue. How it could be finding and using the correct password field when it was wrong in the encoder file is a stumper.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Login Redirects
Experienced
Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Comments: 83
I'm trying to redirect failed logins but, when I enter a nonsense login name and password, I get a message stating "your account is still awaiting validation, you cannot login yet." It then takes me to the successful user login redirect.
Two things here: obviously I'd like to get the redirect working properly. The other issue is the message that appears about the account awaiting validation. I'd much rather have something saying "no match for that username/password combination," where can I change these messages?
Experienced
Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Comments: 83
Just to be clear, I am using the redirects page in the admin panel. I've tried tweaking all the usergroup settings (I don't validate any members) but, I still get the awaiting validation message. Maybe I need to mess with the database field for validation....
(on second thought, that won't do anything. the usernames & passwords I've been entering don't exist in the database and, I'm still getting that message)
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The messages are in the language area of your admin panel, but it sounds like it's using the wrong message. Using 2.15? Will check.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
In 2.15, typing in random username/pass gives "The password you supplied does not match the one for that username."
Experienced
Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Comments: 83
AHhhh, I've figured it out. The passwordencoder help you gave me back in this post https://www.webmastersite.net/forums/thread/5061 was to use this code:
$password = $userpassword;
But, since my password field was user_password, I changed it to:
$password = $user_password;
Worked for logging in but, this was causing the problem with redirects. I removed the undercarriage(sp?) and, it's all working just fine.
Thanks for the feedback.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It shouldn't have worked for logging in, it's hard to see how it would. $userpassword is not a field name, it comes from the form element being submitted.
Experienced
Usergroup: Customer
Joined: Mar 31, 2004
Total Topics: 20
Total Comments: 83
I agree, I got kinda worried about that. I made several attempts to login using just a username and/or an incorrect password and it would not allow me access. Still, very strange. I had been logging in using that encoder up until the point I realized the solution to the redirect issue. How it could be finding and using the correct password field when it was wrong in the encoder file is a stumper.