fix(email): lock templates to built-in catalog
This commit is contained in:
@@ -205,9 +205,9 @@ trait UserControllerAuthPhoneOperations {
|
||||
'{code}' => $code,
|
||||
];
|
||||
$sent = $scene_event !== '' && class_exists('\\AKSRT\\Settings\\Settings')
|
||||
? \AKSRT\Settings\Settings::send_event_email($scene_event, $target, '', '', $placeholders)
|
||||
? \AKSRT\Settings\Settings::send_event_email($scene_event, $target, $placeholders)
|
||||
: false;
|
||||
|
||||
: false;
|
||||
if (!$sent) {
|
||||
delete_transient($this->auth_code_key($scene, $target));
|
||||
if ($scene !== 'register') {
|
||||
|
||||
Reference in New Issue
Block a user