summaryrefslogtreecommitdiff
path: root/FS/FS/msg_template/InitialData.pm
blob: a4e27fdc90099be8298d0a31c66653c4215cda60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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_{ $session_id }">{ $selfservice_server_base_url }/selfservice.cgi?action=process_forgot_password_session_{ $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;