salix/print/templates/email/auth-code/auth-code.js

22 lines
423 B
JavaScript
Raw Permalink Normal View History

2023-04-06 12:59:25 +00:00
const Component = require(`vn-print/core/component`);
2023-07-11 05:41:05 +00:00
const emailHeader = new Component('email-header');
2023-04-06 12:59:25 +00:00
module.exports = {
name: 'auth-code',
components: {
2023-07-11 05:41:05 +00:00
'email-header': emailHeader.build(),
2023-04-06 12:59:25 +00:00
},
props: {
code: {
type: String,
required: true
},
device: {
type: String
},
ip: {
type: String
2023-04-06 12:59:25 +00:00
}
}
};