I realised after I posted that I was asking you to add fields to a Joomla form, but had a faint hope that something could be done.
I have two clients wanting regular forced password changes on Joomla sites. So I grabbed your plugin, modified the Joomla database to include a password reset date field in the users table and modified the plugin to use that field instead of lastvisitDate. I can reset that field to default (zeros) which fires the plugin for all the users - the same as zeros in the lastvistDate does. That means that I don't have to lose the last visit data to make the plugin work. That works fine and I can do that every 3 months or so to get the regular password change, but I don't have the php skills to create a facility to actually force a password change.
Thanks anyway and I'd like to hear if you do create an extension (commercial or free) that will actually force the change.
Great plugin and modification. Unfortunately it doesn't ensure that users change their passwords, all they have to do to get around the forced change is re-enter their old password.
Is it possible to add a current password field to the form so that it is checked as part of the routine? Then the two passwords (new and old) can be compared and rejected if they are identical.