How to programmatically force a customer reset his password?

Situation:

  1. We have customers imported from external source (w/o passwords of course)
  2. In some cases we want to send them e-mail with password reset – allowing them to login

How to force users with no-password to reset their passwords?

Concept is to create cron task, which every hour sends reset password link to users without password set.

1 Like