June 2, 201313 yr I have batch imported users into wordpress from another db by way of a csv file. My problem is that I can't login using their passwords due to wordpress' password encription. Is there a way to fix this or do I have to wait until they try to connect to the site and click the forgot password link?
June 3, 201313 yr Although I’ve never really tried it with WordPress it would make sense that if you where to locate the section in the old WordPress installation (if this is the case) in the wp-config.php that defines the Salt values/auth keys and copy and paste to the new install I couldn’t see why it wouldn’t work. The section looks like this: /**#@+ * Authentication Unique Keys and Salts. * * Change these to different unique phrases! * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service} * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again. * * @since 2.6.0 */ define('AUTH_KEY', ' '); define('SECURE_AUTH_KEY', ' '); define('LOGGED_IN_KEY', ' '); define('NONCE_KEY', ' '); define('AUTH_SALT', ' '); define('SECURE_AUTH_SALT', ' '); define('LOGGED_IN_SALT', ' '); define('NONCE_SALT', ' '); Edited June 3, 201313 yr by CSN-UK
June 3, 201313 yr Author Thanks for your reply. Unfortunately the original site wasn't Wordpress, just good ole php/mysql. Its probably not such a bad thing in the end. Their passwords were not very secure so this will give them a chance to update them. Edited June 3, 201313 yr by mantis
Create an account or sign in to comment