Big problem with logging in
Right now I have a script that connects to an external db outside of WordPress and authenticates a user’s “Customer ID” before showing the bbPress login form, but logging in redirects me to WordPress. This is the process.
1. When they enter the Customer ID, I pass a parameter to the URL like “website.com/?cid=1234″ — the “cid” represents the customer id.
2. Then it shows the bbPress login form populated using “add_shortcode([‘bbp-login’]);” which then logs in correctly.
3. For some reason, it redirects them to the WordPress admin panel directly after so… “website.com/wp-login.php” — this then takes me backdoor to “/wp-admin/” because it knows I’ve already logged in.
This only happens when I enter the website with the “cid” parameter already passed in. So if I enter the website with “website.com/?cid=1234″. I do this to bypass the first authentication so the user doesn’t always have to. SO WEIRD!!
Any help would be greatly appreciated. Thanks.
- You must be logged in to reply to this topic.