feat: implement OTP sending via Kavenegar VerifyLookup and add image cropping modal
- Added support for sending OTP messages using Kavenegar's VerifyLookup method, ensuring compliance with specified token formatting and template usage. - Updated OtpService to handle new template parameters and fallback mechanisms. - Introduced ImageCropModal component for cropping images with a user-friendly interface. - Created utility function for cropping images and generating downloadable files.
This commit is contained in:
@@ -56,6 +56,7 @@ services:
|
||||
arguments:
|
||||
$otpTtl: '%env(int:OTP_TTL)%'
|
||||
$appEnv: '%kernel.environment%'
|
||||
$otpTemplate: '%env(default::KAVENEGAR_OTP_TEMPLATE)%'
|
||||
|
||||
App\Auth\Service\TokenService:
|
||||
arguments:
|
||||
|
||||
Reference in New Issue
Block a user