From 9b9eb0850b7d970070ae42089fbdfe15a36cc966 Mon Sep 17 00:00:00 2001 From: Michael Gage Date: Tue, 19 Jun 2012 11:17:53 -0400 Subject: [PATCH] Add use Carp; to file to prevent the program from dying when "croak" is called. Minor fix. There is an underlying issue, or possible issue, where there is a warning because of a conflict between a login name and a cookie, possibly left over or stale. Quitting the browser fixes this. Is this a bug or a feature? I suspect it's new behavior with the added LTI authentication. --- lib/WeBWorK/Authen.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/WeBWorK/Authen.pm b/lib/WeBWorK/Authen.pm index ca2ca6deb0..84b459c739 100644 --- a/lib/WeBWorK/Authen.pm +++ b/lib/WeBWorK/Authen.pm @@ -57,6 +57,7 @@ use WeBWorK::Debug; use WeBWorK::Utils qw/writeCourseLog runtime_use/; use WeBWorK::Localize; use URI::Escape; +use Carp; use mod_perl; use constant MP2 => ( exists $ENV{MOD_PERL_API_VERSION} and $ENV{MOD_PERL_API_VERSION} >= 2 );