View | Details | Raw Unified | Return to bug 25936
Collapse All | Expand All

(-)a/Koha/Patron.pm (-1 / +1 lines)
Lines 886-892 sub set_password { Link Here
886
                eval {
886
                eval {
887
                    my $letter = GetPreparedLetter(
887
                    my $letter = GetPreparedLetter(
888
                        module      => 'members',
888
                        module      => 'members',
889
                        letter_code => 'PASSCHANGE',
889
                        letter_code => 'PASSWORD_CHANGE',
890
                        branchcode  => $self_from_storage->branchcode,
890
                        branchcode  => $self_from_storage->branchcode,
891
                        ,
891
                        ,
892
                        lang   => $self_from_storage->lang || 'default',
892
                        lang   => $self_from_storage->lang || 'default',
(-)a/installer/data/mysql/atomicupdate/bug_25936.pl (-8 / +3 lines)
Lines 7-21 return { Link Here
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
9
10
        # Add PASSCHANGE notice
10
        # Add PASSWORD_CHANGE notice
11
        $dbh->do( q{
11
        $dbh->do( q{
12
            INSERT IGNORE INTO letter (module, code, name, title, content, message_transport_type) VALUES ('members', 'PASSCHANGE', 'Notification of password change', 'Library account password change notification',
12
            INSERT IGNORE INTO letter (module, code, name, title, content, message_transport_type) VALUES ('members', 'PASSWORD_CHANGE', 'Notification of password change', 'Library account password change notification',
13
            "Dear [% borrower.firstname %] [% borrower.surname %],
13
            "Dear [% borrower.firstname %] [% borrower.surname %],\r\n\r\nSomeone has changed your library user account password.\r\n\r\nIf this is unexpected, please contact the library.", 'email');
14
15
            Someone has changed your library user account password.
16
17
            If this is unexpected, please contact the library.
18
            ", 'email');
19
        });
14
        });
20
15
21
        # Add systempreference
16
        # Add systempreference
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-2 / +1 lines)
Lines 1025-1031 tables: Link Here
1025
            - "If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly."
1025
            - "If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly."
1026
1026
1027
        - module: members
1027
        - module: members
1028
          code: PASSCHANGE
1028
          code: PASSWORD_CHANGE
1029
          branchcode: ""
1029
          branchcode: ""
1030
          name: "Notification of password change"
1030
          name: "Notification of password change"
1031
          is_html: 1
1031
          is_html: 1
1032
- 

Return to bug 25936