mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 00:37:38 +00:00
Improve: plugin: strapi-email-amazon-ses: setting labels;
Remove: plugin: strapi-email-amazon-ses: unnecessary setting.
This commit is contained in:
parent
b73e3561f5
commit
c8b9b272f1
@ -16,32 +16,28 @@ module.exports = {
|
|||||||
name: 'Amazon SES',
|
name: 'Amazon SES',
|
||||||
auth: {
|
auth: {
|
||||||
amazon_ses_default_from: {
|
amazon_ses_default_from: {
|
||||||
label: 'Amazon SES Default From',
|
label: 'Default From',
|
||||||
type: 'text'
|
type: 'text'
|
||||||
},
|
},
|
||||||
amazon_ses_default_replyto: {
|
amazon_ses_default_replyto: {
|
||||||
label: 'Amazon SES Default Reply-To',
|
label: 'Default Reply-To',
|
||||||
type: 'text'
|
type: 'text'
|
||||||
},
|
},
|
||||||
amazon_ses_api_key: {
|
amazon_ses_api_key: {
|
||||||
label: 'Amazon SES API Key',
|
label: 'Amazon Access key ID',
|
||||||
type: 'text'
|
type: 'text'
|
||||||
},
|
},
|
||||||
amazon_ses_secret: {
|
amazon_ses_secret: {
|
||||||
label: 'Amazon SES Secret',
|
label: 'Amazon Secret access key',
|
||||||
type: 'text'
|
|
||||||
},
|
|
||||||
amazon_ses_endpoint: {
|
|
||||||
label: 'Amazon SES Endpoint',
|
|
||||||
type: 'text'
|
type: 'text'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
init: (config) => {
|
init: (config) => {
|
||||||
|
|
||||||
var client = nodeSES.createClient({
|
var client = nodeSES.createClient({
|
||||||
key: config.amazon_ses_api_key,
|
key: config.amazon_ses_api_key,
|
||||||
secret: config.amazon_ses_secret,
|
secret: config.amazon_ses_secret
|
||||||
amazon: config.amazon_ses_endpoint || null
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "strapi-email-amazon-ses",
|
"name": "strapi-email-amazon-ses",
|
||||||
"version": "3.0.0-alpha.12.7.1",
|
"version": "3.0.0-alpha.12.6",
|
||||||
"description": "Amazon SES provider for strapi email",
|
"description": "Amazon SES provider for strapi email",
|
||||||
"homepage": "http://strapi.io",
|
"homepage": "http://strapi.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user