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

(-)a/C4/Auth.pm (-2 / +3 lines)
Lines 229-235 sub get_template_and_user { Link Here
229
            )
229
            )
230
          )
230
          )
231
        {
231
        {
232
            $kick_out = 1;
232
            $kick_out = 'sco_user';
233
        }
233
        }
234
        elsif (
234
        elsif (
235
# If the user logged in is the SCI user and they try to go out of the SCI module,
235
# If the user logged in is the SCI user and they try to go out of the SCI module,
Lines 245-251 sub get_template_and_user { Link Here
245
            && $flags && $flags->{superlibrarian} != 1
245
            && $flags && $flags->{superlibrarian} != 1
246
          )
246
          )
247
        {
247
        {
248
            $kick_out = 1;
248
            $kick_out = 'sci_user';
249
        }
249
        }
250
250
251
        if ($kick_out) {
251
        if ($kick_out) {
Lines 265-270 sub get_template_and_user { Link Here
265
                loginprompt => 1,
265
                loginprompt => 1,
266
                script_name => get_script_name(),
266
                script_name => get_script_name(),
267
                auth_error  => $auth_error,
267
                auth_error  => $auth_error,
268
                $kick_out   => 1,
268
            );
269
            );
269
270
270
            print $in->{query}->header(
271
            print $in->{query}->header(
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt (-1 / +12 lines)
Lines 84-89 Link Here
84
                                </div>
84
                                </div>
85
                            [% END %]
85
                            [% END %]
86
86
87
                            [% IF sco_user %]
88
                                <div class="alert alert-info">
89
                                    <p>You can not loggin with self check-out user</p>
90
                                </div>
91
                            [% END %]
92
93
                            [% IF sci_user %]
94
                                <div class="alert alert-info">
95
                                    <p>You can not loggin with self check-in user</p>
96
                                </div>
97
                            [% END %]
98
87
                            [% IF ( shibbolethAuthentication ) %]
99
                            [% IF ( shibbolethAuthentication ) %]
88
                                [% IF ( invalidShibLogin ) %]
100
                                [% IF ( invalidShibLogin ) %]
89
                                    <!-- This is what is displayed if shibboleth login has failed to match a koha user -->
101
                                    <!-- This is what is displayed if shibboleth login has failed to match a koha user -->
90
- 

Return to bug 20632