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

(-)a/opac/opac-registration-verify.pl (-4 / +3 lines)
Lines 70-76 if ( $rego_found Link Here
70
            template_name   => "opac-registration-confirmation.tt",
70
            template_name   => "opac-registration-confirmation.tt",
71
            type            => "opac",
71
            type            => "opac",
72
            query           => $cgi,
72
            query           => $cgi,
73
            authnotrequired => C4::Context->preference("OpacPublic") ? 1 : 0,
73
            authnotrequired => 1,
74
        }
74
        }
75
    );
75
    );
76
    $template->param( "token" => $token );
76
    $template->param( "token" => $token );
Lines 111-117 elsif ( $rego_found Link Here
111
                template_name   => "opac-registration-confirmation.tt",
111
                template_name   => "opac-registration-confirmation.tt",
112
                type            => "opac",
112
                type            => "opac",
113
                query           => $cgi,
113
                query           => $cgi,
114
                authnotrequired => C4::Context->preference("OpacPublic") ? 1 : 0,
114
                authnotrequired => 1,
115
            }
115
            }
116
        );
116
        );
117
        $template->param( "confirmed" => 1 );
117
        $template->param( "confirmed" => 1 );
Lines 173-179 if( !$template ) { # Missing token, patron exception, etc. Link Here
173
        template_name   => "opac-registration-invalid.tt",
173
        template_name   => "opac-registration-invalid.tt",
174
        type            => "opac",
174
        type            => "opac",
175
        query           => $cgi,
175
        query           => $cgi,
176
        authnotrequired => C4::Context->preference("OpacPublic") ? 1 : 0,
176
        authnotrequired => 1,
177
    });
177
    });
178
    $template->param( error_type => $error_type, error_info => $error_info );
178
    $template->param( error_type => $error_type, error_info => $error_info );
179
}
179
}
180
- 

Return to bug 37692