[Koha-bugs] [Bug 31244] New: Logout when not logged in raise a 500

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 27 09:07:00 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31244

            Bug ID: 31244
           Summary: Logout when not logged in raise a 500
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Staff Client
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

If /cgi-bin/koha/mainpage.pl?logout.x=1 is hit when the user is not logged in,
a 500 is displayed.

    Can't use an undefined value as a HASH reference at
/kohadevbox/koha/C4/Auth.pm line 985
            C4::Auth::checkauth('CGI=HASH(0x5603b7dc4300)', 0,
'HASH(0x5603b2633238)', 'intranet', undef, 'intranet-main.tt') called at
/kohadevbox/koha/C4/Auth.pm line 186
            C4::Auth::get_template_and_user('HASH(0x5603b7b83d08)') called at
/kohadevbox/koha/mainpage.pl line 40

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list