Jump to content
Sign in to follow this  
budeades

bbpress logout issue

Recommended Posts

budeades

I'm having to do a workaround with bbpress and wordpress with deep integration. working fine - login wordpress, user is also logged in to bbpress. however to add topic user must log in a second time and then able to post and comment. at end to log out to both wordpress and bbpress the user must log out bbpress then click to wordpress home and logout from the admin bar. any way that logout can happen on both from bbpress. yes same DB shared.

Share this post


Link to post
Share on other sites
cmunns

Are the cookie salts integrated?

Share this post


Link to post
Share on other sites
budeades

in WP config I have cookie salts set define('AUTH_SALT' define('SECURE_AUTH_SALT' define('LOGGED_IN_SALT', define('NONCE_SALT', but not in the bbconfig didn't think i need to put the above as BB_AUTH_SALT etc define( 'BB_AUTH_KEY', define( 'BB_SECURE_AUTH_KEY define( 'BB_LOGGED_IN_KEY', define( 'BB_NONCE_KEY', 'put your unique phrase here' ); /**#@-*/ do you need to see all the code?

Share this post


Link to post
Share on other sites
cmunns

The values from your WP config need to match your bb config auth salts or vice versa rather.

Share this post


Link to post
Share on other sites
budeades

so i add to the bb config file? BB_AUTH_SALT etc in addition to the others? define('BB_AUTH_SALT' define('BB_SECURE_AUTH_SALT' define('BB_LOGGED_IN_SALT', define('BB_NONCE_SALT', B

Share this post


Link to post
Share on other sites
budeades

both files have same salts - not using bb in front but the problem continues - login from wp is logged in bbpress must relogin to post to logout works bbpress but must go to wp to log out too.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×