|
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( |