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

(-)a/C4/Auth.pm (+1 lines)
Lines 1229-1234 sub checkauth { Link Here
1229
                                    -secure => ( C4::Context->https_enabled() ? 1 : 0 ),
1229
                                    -secure => ( C4::Context->https_enabled() ? 1 : 0 ),
1230
                                    -sameSite => 'Lax',
1230
                                    -sameSite => 'Lax',
1231
                                ));
1231
                                ));
1232
                                $return=0;
1232
                                $info{'wrongip'} = 1;
1233
                                $info{'wrongip'} = 1;
1233
                                $auth_state = "failed";
1234
                                $auth_state = "failed";
1234
                            }
1235
                            }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt (-2 / +1 lines)
Lines 66-72 Link Here
66
[% END %]
66
[% END %]
67
67
68
[% IF ( wrongip ) %]
68
[% IF ( wrongip ) %]
69
<div id="login_error"><strong>Error: </strong>Autolocation is switched on and you are logging in with an IP address that doesn't match your library. </div>
69
<div id="login_error"><strong>Error: </strong>StaffLoginRestrictBranchByIP is switched on and you are logging in with an IP address that doesn't match your library. </div>
70
[% END %]
70
[% END %]
71
71
72
[% IF too_many_login_attempts %]
72
[% IF too_many_login_attempts %]
73
- 

Return to bug 26176