Title: Password constraints?
Last modified: June 7, 2023

---

# Password constraints?

 *  Resolved [nleaney](https://wordpress.org/support/users/nleaney/)
 * (@nleaney)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/password-constraints/)
 * I’ve been trying to use the plug-in ahead of importing a batch of users for my
   site. 
   I think I’ve gotten around most of the gotchas and can now import a new
   user successfully with all of the relevant fields configured appropriately however
   the password I’m setting for my user doesn’t seem to work. The user is being 
   created correctly and I can use the forgotten password prompt to reset the password
   but I’d like the initial password I’m setting for my users to be honoured. I 
   haven’t selected the ‘Password is already hashed’ option.
 * I wonder if there are any plug-in specific constraints such as character count,
   use of special characters etc. I should be aware of? The passwords I’ve tried
   to create should meet WordPress best practice. Are there any other issues to 
   consider?
 * I’m using WP 6.22

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Thomas S](https://wordpress.org/support/users/eighty20results/)
 * (@eighty20results)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/password-constraints/#post-16801850)
 * I’m sure you’re avoiding quote (single, double, back-tick, etc), possibly wildcard(*,%)
   and non ASCII characters in the passwords. Would also be cautious with long strings,
   but other than that there shouldn’t be anything I can think of, off the top of
   my head. (Been a little while since I wrote that code, and not in front of a 
   computer right now to check, sorry).
 *  Thread Starter [nleaney](https://wordpress.org/support/users/nleaney/)
 * (@nleaney)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/password-constraints/#post-16873418)
 * By way of feedback, I’ve given up trying to preset the users passwords and have
   adopted an approach whereby they are prompted to login and set the password themselves.
   This seems to be working.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Password constraints?’ is closed to new replies.

 * ![](https://ps.w.org/pmpro-import-members-from-csv/assets/icon-256x256.png?rev
   =1920071)
 * [Import Members from CSV for Paid Memberships Pro](https://wordpress.org/plugins/pmpro-import-members-from-csv/)
 * [Support Threads](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/)
 * [Active Topics](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pmpro-import-members-from-csv/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [nleaney](https://wordpress.org/support/users/nleaney/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/password-constraints/#post-16873418)
 * Status: resolved