FAQ Changing WordPress AUTH SALT constant
June 29, 2024 at 4:56 AMIf you have to change WordPress’ AUTH_SALT
key, you will experience that your users are no longer be able to login.
The reason for this is, that passwords used by NADI are stored encrypted with the AUTH_SALT
as encryption key. When the AUTH_SALT
changes, passwords can no longer be decrypted.
To change the AUTH_SALT
in wp-config.php
, you have to define the constant NEXT_ACTIVE_DIRECTORY_INTEGRATION_ENCRYPTION_KEY
in your wp-config.php
.
Before changing the AUTH_SALT
:
<?php
// wp-config.php
/**
* The base configuration for WordPress
*/
// ...
define('AUTH_SALT', 'my_old_auth_salt');
After changing the AUTH_SALT
:
<?php
// wp-config.php
/**
* The base configuration for WordPress
*/
// ...
define('AUTH_SALT', 'my_new_auth_salt');
define('NEXT_ACTIVE_DIRECTORY_INTEGRATION_ENCRYPTION_KEY', 'my_old_auth_salt');