Forums

Join
bbPress Support ForumsTroubleshootingbbPress nonces in WP

Info

bbPress nonces in WP

  1. 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?

  2. 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.

  3. You must log in to post.