Info
- 2 posts
- 2 voices
- Started 2 years ago by Simon Wheatley
- Latest reply from Burt Adsit
- This topic is not resolved
bbPress nonces in WP
-
- Posted 2 years ago #
I have a bbPress install which is sharing user tables and cookies with WordPress.
I'm trying to create a link in bbPress which will allow my users to log out using the WordPress logout page, To do this I think I need to make a nonce in bbPress which WordPress will recognise. So far my attempts have failed. I've aligned the salts, hashes and keys in wp-config.php and bb-config.php.
Any suggestions?
-
- Posted 2 years ago #
Simon,
Looks to me like the code in wp and bbpress says you need NONCE_KEY in wp and BB_NONCE_KEY in bbpress to match. Then the salts BB_NONCE_SALT and NONCE_SALT have to match. If the salts don't exist, wp and bbpress generate random ones. Of course they will not match.
-
You must log in to post.