mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Removed empty properties from email template
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
"emails.magicSession.signature": "{{project}} team",
|
||||
"emails.authNotify.subject": "New session alert for {{project}}",
|
||||
"emails.authNotify.hello": "Hey {{user}},",
|
||||
"emails.authNotify.body": "We're writing to inform you that a new session has been initiated on your {{project}} account on {{date}} at {{time}}. <br><br>Here are the details: <br>Device: {{device}}<br>Location: {{country}}<br>IP Address: {{ip}} <br><br>If you did not initiate this session, we strongly recommend that you review your account settings.",
|
||||
"emails.authNotify.body": "We're writing to inform you that a new session has been initiated on your {{project}} account on {{date}} at {{time}}. <br><hr><br>Here are the details: <br>Device: {{device}}<br>Location: {{country}}<br>IP Address: {{ip}} <br><hr><br>If you did not initiate this session, we strongly recommend that you review your account settings.",
|
||||
"emails.authNotify.footer": "If you recognize this activity, no further action is required.",
|
||||
"emails.authNotify.thanks": "Thanks",
|
||||
"emails.authNotify.signature": "{{project}} team",
|
||||
|
||||
@@ -371,7 +371,9 @@ App::post('/v1/account/sessions/email')
|
||||
'device' => $device['deviceBrand'] . " " . $device['deviceModel'] . " " . $device['deviceName'],
|
||||
'country' => $locale->getText('countries.' . strtolower($session->getAttribute('countryCode')), $locale->getText('locale.country.unknown')),
|
||||
'ip' => $request->getIP(),
|
||||
'redirect' => ''
|
||||
'redirect' => '',
|
||||
'code' => '',
|
||||
'securityPhrase' => '',
|
||||
];
|
||||
|
||||
$queueForMails
|
||||
@@ -966,7 +968,9 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect')
|
||||
'device' => $device['deviceBrand'] . " " . $device['deviceModel'] . " " . $device['deviceName'],
|
||||
'country' => $locale->getText('countries.' . strtolower($session->getAttribute('countryCode')), $locale->getText('locale.country.unknown')),
|
||||
'ip' => $request->getIP(),
|
||||
'redirect' => ''
|
||||
'redirect' => '',
|
||||
'code' => '',
|
||||
'securityPhrase' => '',
|
||||
];
|
||||
|
||||
$queueForMails
|
||||
@@ -1752,7 +1756,9 @@ App::put('/v1/account/sessions/phone')
|
||||
'device' => $device['deviceBrand'] . " " . $device['deviceModel'] . " " . $device['deviceName'],
|
||||
'country' => $locale->getText('countries.' . strtolower($session->getAttribute('countryCode')), $locale->getText('locale.country.unknown')),
|
||||
'ip' => $request->getIP(),
|
||||
'redirect' => ''
|
||||
'redirect' => '',
|
||||
'code' => '',
|
||||
'securityPhrase' => '',
|
||||
];
|
||||
|
||||
$queueForMails
|
||||
|
||||
Reference in New Issue
Block a user