Project

General

Profile

Actions

Regression #13757

closed

Circular dependency issue in ``auth.inc``/``authgui.inc``

Added by Jim Pingle almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Very High
Assignee:
Category:
Authentication
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:

Description

Some parts of auth.inc use a check for a function before doing some GUI-specific checks:

if (function_exists("display_error_form")) {

This function is defined in authgui.inc, but authgui.inc includes auth.inc before this function is defined.

I don't see how this could be working correctly unless something happened to include auth.inc twice.

The checks here used to work but perhaps something is behaving more appropriately in PHP 8.x which makes it (correctly) fail.

Actions

Also available in: Atom PDF