From 6b4a2501a75964c864467a3bf85bbba039009049 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 30 Dec 2013 01:34:13 -0800 Subject: [PATCH] self-service access for contacts, RT#25533 --- FS/FS/msg_template/InitialData.pm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 FS/FS/msg_template/InitialData.pm diff --git a/FS/FS/msg_template/InitialData.pm b/FS/FS/msg_template/InitialData.pm new file mode 100644 index 000000000..a21c2d557 --- /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 +{ $selfservice_server_base_url }/selfservice.cgi?action=process_forgot_password;session_id={ $session_id }
+
+This link will expire in 24 hours.
+
+If you did not request this password reset, you may safely ignore and delete this message.
+
+
+{ $company_name } Support +END + ], + }, + ]; +} + +1; -- 2.11.0