[freeside-commits] branch FREESIDE_3_BRANCH updated. 6033d0297f7e50318b76f83c5b61f05110e58e33
Ivan
ivan at 420.am
Mon Dec 30 01:36:43 PST 2013
The branch, FREESIDE_3_BRANCH has been updated
via 6033d0297f7e50318b76f83c5b61f05110e58e33 (commit)
from 0b38843f4107444033299fefa001cfaec9c083d9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6033d0297f7e50318b76f83c5b61f05110e58e33
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Dec 30 01:36:39 2013 -0800
self-service access for contacts, RT#25533
diff --git a/FS/FS/msg_template/InitialData.pm b/FS/FS/msg_template/InitialData.pm
new file mode 100644
index 0000000..a21c2d5
--- /dev/null
+++ b/FS/FS/msg_template/InitialData.pm
@@ -0,0 +1,27 @@
+package FS::msg_template::InitialData;
+
+sub _initial_data {
+ [
+ { msgname => 'Password reset',
+ mime_type => 'text/html', #multipart/alternative with a text part?
+ # cranky mutt/pine users like me are rare
+
+ _conf => 'selfservice-password_reset_msgnum',
+ _insert_args => [ subject => '{ $company_name } password reset',
+ body => <<'END',
+To complete your { $company_name } password reset, please go to
+<a href="{ $selfservice_server_base_url }/selfservice.cgi?action=process_forgot_password;session_id={ $session_id }">{ $selfservice_server_base_url }/selfservice.cgi?action=process_forgot_password;session_id={ $session_id }</a><br />
+<br />
+This link will expire in 24 hours.<br />
+<br />
+If you did not request this password reset, you may safely ignore and delete this message.<br />
+<br />
+<br />
+{ $company_name } Support
+END
+ ],
+ },
+ ];
+}
+
+1;
-----------------------------------------------------------------------
Summary of changes:
FS/FS/msg_template/InitialData.pm | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
create mode 100644 FS/FS/msg_template/InitialData.pm
More information about the freeside-commits
mailing list