[Koha-bugs] [Bug 28785] New: Code in C4::Auth::checkauth is copy pasted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 30 13:54:35 CEST 2021


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

            Bug ID: 28785
           Summary: Code in C4::Auth::checkauth is copy pasted
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org

The code to check cookie authentication is duplicated in several places inside
C4::Auth:
* check_cookie_auth
* checkauth
* check_api_auth

The subroutine check_cookie_auth must be called from checkauth and
check_api_auth to avoid code duplication.

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


More information about the Koha-bugs mailing list