0

I'm using Feedme to import users from one Craft site to another via an XML feed. I'd like to include users passwords too. I thought that {{ user.password|hash }} would do the trick but when I test this out after import using one of the imported accounts I get the "Invalid email or password" error msg. I know the account has ported across, email address is correct, and it's live. So must be something with the password. Can anyone help me out?

  • user.password should already be the hashed password... have you tried just that? – Brad Bell Jul 7 '19 at 5:20
  • Hey Brad. I just sent existing users (there weren't many) a link to reset their passwords for the new system, so no dramas. I'll keep in mind for next time though. – Ian Ebden Jul 8 '19 at 9:02
  • Fair enough... should we close this question, then? – Brad Bell Jul 8 '19 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.