moved account support to own ejb project
This commit is contained in:
21
account/sql/03_templates.sql
Normal file
21
account/sql/03_templates.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
DROP TABLE mail_template;
|
||||
|
||||
CREATE TABLE mail_template (
|
||||
template_name varchar(40) NOT NULL,
|
||||
template_value text NOT NULL,
|
||||
CONSTRAINT mail_template_pk PRIMARY KEY (template_name)
|
||||
);
|
||||
|
||||
|
||||
INSERT INTO mail_template (template_name, template_value) VALUES('password_reset_html',
|
||||
'<#ftl strip_whitespace = true>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
Dear ${account.firstname},<br>
|
||||
<br>
|
||||
you requested to reset your password at ${parameter.url}. Please open the following URL to proceed.<br>
|
||||
<a href="${parameter.resetUrl}">${parameter.resetUrl}</a><br>
|
||||
<br>
|
||||
</body>
|
||||
</html>');
|
||||
Reference in New Issue
Block a user