From 7ae823f74ea0e267d5980207f7256030ec93f763 Mon Sep 17 00:00:00 2001 From: Flaviu Mates Date: Thu, 21 May 2020 20:18:13 +0300 Subject: [PATCH] TT#76108 - Create admin password reset email template Change-Id: Ib2c3c2b610c7675f1739dfde4d4520539551c962 (cherry picked from commit 7cb5c880cfce80c0f09d5dd281571af02bb552e4) --- db_scripts/diff/15606.down | 8 ++++++++ db_scripts/diff/15606.up | 17 +++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 db_scripts/diff/15606.down create mode 100644 db_scripts/diff/15606.up diff --git a/db_scripts/diff/15606.down b/db_scripts/diff/15606.down new file mode 100644 index 00000000..c3038bbc --- /dev/null +++ b/db_scripts/diff/15606.down @@ -0,0 +1,8 @@ +use billing; +set autocommit=0; + +DELETE from email_templates + WHERE reseller_id IS NULL + AND name = 'admin_passreset_default_email'; + +commit; \ No newline at end of file diff --git a/db_scripts/diff/15606.up b/db_scripts/diff/15606.up new file mode 100644 index 00000000..3781ecae --- /dev/null +++ b/db_scripts/diff/15606.up @@ -0,0 +1,17 @@ +use billing; +set autocommit=0; + +INSERT INTO email_templates (reseller_id, name, from_email, subject, body) +VALUES +(NULL, 'admin_passreset_default_email', 'default@sipwise.com', +'Password reset email', +'Dear Customer, + +Please go to [% url %] to set your password and log into your admin interface. + +Your faithful Sipwise system + +-- +This is an automatically generated message. Do not reply.'); + +commit; \ No newline at end of file