Hello,
I'm having a problem with the unified login. Everything works fine when I log in from the forum page in the iframe, but if you go to site.com/wp-login and log in there, it will only log me into the wp backend, not the phpbb3 forums as well.
Unified Login issues
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Unified Login issues
i can't reproduce at moment logging in/out without any issue .... what other plugin is also installed about captcha or security login or ajax login in your WP?
-
- Moderator
- Posts: 41
- Joined: Wed May 18, 2016 12:09 pm
Re: Unified Login issues
The only plugins that we have security wise would be Akismet, and Block Disposable Email. We weren't allowing people to register accounts for our wordpress side until now, and even then it's technically going to be through phpbb3 that they register.
As far as ajax, the only thing that I can think of is that our theme could interfere, though it seems that for the login portion that it posts information directly to the wp-login.php page.
Here's the form that is used on the front side:
For logging out from the WP side, our theme is using the following link:
http://mysite.com/wp-login.php?action=l ... ca12cc216b
This seems to cause a redirect loop that requires a purging of the cookies to fix. I'm guessing that it has to do with the wp and phpbb session keys not being properly unset. Logging out from the phpbb3 side properly logs the user out, though it comes with the same caveat as my other post, that it doesn't update the wp admin menu at the top until you refresh the page.
As far as ajax, the only thing that I can think of is that our theme could interfere, though it seems that for the login portion that it posts information directly to the wp-login.php page.
Here's the form that is used on the front side:
Code: Select all
<form name="LoginWithAjax_Form" id="LoginWithAjax_Form" action="http://mysite.com/wp-login.php?" method="post">
<input type="text" name="log" placeholder="Username" id="lwa_user_login" class="input" value="" />
<input type="password" placeholder="Password" name="pwd" id="lwa_user_pass" class="input" value="" />
<input name="rememberme" type="checkbox" id="lwa_rememberme" value="forever">
<label>Remember Me</label>
<a id="LoginWithAjax_Links_Remember" href="http://mysite.com/wp-login.php?action=lostpassword" title="Password Lost and Found">Lost your password?</a>
<button type="submit" class="button-small" name="wp-submit" id="lwa_wp-submit" value="GO " tabindex="100" >GO </button>
<input type="hidden" name="redirect_to" value="http://mysite.com" />
<input type="hidden" name="lwa_profile_link" value="" />
</form>
http://mysite.com/wp-login.php?action=l ... ca12cc216b
This seems to cause a redirect loop that requires a purging of the cookies to fix. I'm guessing that it has to do with the wp and phpbb session keys not being properly unset. Logging out from the phpbb3 side properly logs the user out, though it comes with the same caveat as my other post, that it doesn't update the wp admin menu at the top until you refresh the page.
-
- Moderator
- Posts: 41
- Joined: Wed May 18, 2016 12:09 pm
Re: Unified Login issues
Just to post up a follow up, on a whim I tried applying the plugin to our live site, and the login issues are gone. I'm not sure why it won't work properly on a WAMP stack, but it seems to work fine on a LAMP stack.
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Unified Login issues
The only things come out in mind to me: cookies.
Looking today to start improving and rewriting something on wp_w3all, about all hints and reports of these days.
Looking today to start improving and rewriting something on wp_w3all, about all hints and reports of these days.