mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 16:29:18 +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',
|
||||
auth: {
|
||||
amazon_ses_default_from: {
|
||||
label: 'Amazon SES Default From',
|
||||
label: 'Default From',
|
||||
type: 'text'
|
||||
},
|
||||
amazon_ses_default_replyto: {
|
||||
label: 'Amazon SES Default Reply-To',
|
||||
label: 'Default Reply-To',
|
||||
type: 'text'
|
||||
},
|
||||
amazon_ses_api_key: {
|
||||
label: 'Amazon SES API Key',
|
||||
label: 'Amazon Access key ID',
|
||||
type: 'text'
|
||||
},
|
||||
amazon_ses_secret: {
|
||||
label: 'Amazon SES Secret',
|
||||
type: 'text'
|
||||
},
|
||||
amazon_ses_endpoint: {
|
||||
label: 'Amazon SES Endpoint',
|
||||
label: 'Amazon Secret access key',
|
||||
type: 'text'
|
||||
}
|
||||
},
|
||||
|
||||
init: (config) => {
|
||||
|
||||
var client = nodeSES.createClient({
|
||||
key: config.amazon_ses_api_key,
|
||||
secret: config.amazon_ses_secret,
|
||||
amazon: config.amazon_ses_endpoint || null
|
||||
secret: config.amazon_ses_secret
|
||||
});
|
||||
|
||||
return {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"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",
|
||||
"homepage": "http://strapi.io",
|
||||
"keywords": [
|
||||
@ -42,4 +42,4 @@
|
||||
"npm": ">= 5.3.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user