fix(email): lock templates to built-in catalog
This commit is contained in:
1 parent
3f02048bc5
commit
129eb25078
10 files changed
+61
-111
No files matched your search
@@ -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