Add base class for "reset password by SMS"
SMS API are not standard, however we could easily have a base class to prepare that.
Design proposition
- Move part of MailPasswordReset into "Lib/PasswordReset.pm"
- Maybe create a "Lib/SMSBase.pm" that stores custom parameters somewhere and just needs a "sendSMS" method in sub classes
- Create a "Lib/SMS.pm" that requires a class that exposes a
sendSMS($phone, $text)
- Create a "Plugins/SMSPasswordResetBase.pm" that inherits from "Lib/PasswordReset.pm" and uses "Lib/SMS.pm"