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

(-)a/basket/sendbasket.pl (-1 / +1 lines)
Lines 59-65 if ( $email_add ) { Link Here
59
            query           => $query,
59
            query           => $query,
60
            type            => "intranet",
60
            type            => "intranet",
61
            authnotrequired => 0,
61
            authnotrequired => 0,
62
            flagsrequired   => { borrow => 1 },
62
            flagsrequired   => { catalogue => 1 },
63
        }
63
        }
64
    );
64
    );
65
65
(-)a/opac/opac-idref.pl (-1 lines)
Lines 37-43 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
37
        query           => $cgi,
37
        query           => $cgi,
38
        type            => "opac",
38
        type            => "opac",
39
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
39
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
40
        flagsrequired   => { borrow => 1 },
41
    }
40
    }
42
);
41
);
43
42
(-)a/opac/opac-news-rss.pl (-1 lines)
Lines 34-40 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
34
        type            => "opac",
34
        type            => "opac",
35
        query           => $input,
35
        query           => $input,
36
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
36
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
37
        flagsrequired   => { borrow => 1 },
38
    }
37
    }
39
);
38
);
40
39
(-)a/opac/opac-restrictedpage.pl (-1 lines)
Lines 40-46 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
40
        query           => $query,
40
        query           => $query,
41
        type            => "opac",
41
        type            => "opac",
42
        authnotrequired => $withinNetwork,
42
        authnotrequired => $withinNetwork,
43
        flagsrequired   => { borrow => 1 },
44
        debug           => 1,
43
        debug           => 1,
45
    }
44
    }
46
);
45
);
(-)a/opac/svc/login (-2 / +1 lines)
Lines 43-49 if ( $response->is_success ) { Link Here
43
    my $content      = $response->decoded_content();
43
    my $content      = $response->decoded_content();
44
    my $decoded_json = decode_json($content);
44
    my $decoded_json = decode_json($content);
45
    my ( $userid, $cookie, $sessionID ) =
45
    my ( $userid, $cookie, $sessionID ) =
46
      checkauth( $query, 1,  { borrow => 1 }, 'opac', $decoded_json->{'email'} );
46
      checkauth( $query, 1,  {}, 'opac', $decoded_json->{'email'} );
47
    if ($userid) { # a valid user has logged in
47
    if ($userid) { # a valid user has logged in
48
        print $query->header( -cookie => $cookie );
48
        print $query->header( -cookie => $cookie );
49
        print $decoded_json;
49
        print $decoded_json;
50
- 

Return to bug 16447