Rename config entry pass to password.

This commit is contained in:
Julien Fontanet 2015-11-27 10:58:56 +01:00
parent 5b9a3ca1cb
commit 9b6c5d2ea3

View File

@ -50,7 +50,7 @@ export const configurationSchema = {
type: 'string', type: 'string',
description: 'name to use to authenticate' description: 'name to use to authenticate'
}, },
pass: { password: {
type: 'string', type: 'string',
description: 'password to use to authenticate' description: 'password to use to authenticate'
} }
@ -99,12 +99,12 @@ class TransportEmailPlugin {
configure ({ configure ({
transport: { transport: {
user, user,
pass, password,
...transportConf ...transportConf
}, },
...conf ...conf
}) { }) {
transportConf.auth = { user, pass } transportConf.auth = { user, pass: password }
const transport = createTransport(transportConf) const transport = createTransport(transportConf)
transport.use('compile', markdownCompiler) transport.use('compile', markdownCompiler)