[Koha-bugs] [Bug 32203] New: Refactor checkauth() auth rejected to improve maintainability

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 15 00:51:14 CET 2022


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

            Bug ID: 32203
           Summary: Refactor checkauth() auth rejected to improve
                    maintainability
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Authentication
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: dpavlin at rot13.org

checkauth() appears to be 706 lines at the time of this writing.

The "AUTH rejected" section is 154 lines or over 20% of the function. 

It's a section devoted mainly to setting up the authentication template, so
it's a very low risk part to change, and for the most part easy to change,
since you just need to check the display on a failed auth.

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


More information about the Koha-bugs mailing list