ferdousulhaque / laravel-otp-validate

Laravel package for OTP validation with built-in features like max retry and resend mechanism. Both OTP/Security Code over SMS or Email or AWS SNS of your choice with template user-defined.
71 stars 13 forks source link

Allow custom mailable class to be specified for e-mail OTPs #13

Closed alex-ng-wesoft closed 1 year ago

alex-ng-wesoft commented 2 years ago

Fixes ferdousulhaque/laravel-otp-validate#6.

Users of the library that don't explicitly specify a custom class will continue to use the existing OtpMailable class, either through the default value in config/otp.php or via the default value specified in EmailTransportService.