fix: disable conflicting legacy authentication system for master trainer pages
- Commented out check_master_dashboard_auth hook to prevent conflicts
- The centralized HVAC_Access_Control system now handles all master trainer authentication
- This resolves the dual authentication system conflict causing persistent redirects
- Master trainer pages should now load properly without authentication loops
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8724853fdb
commit
2ec7b7ca09
1 changed files with 2 additions and 1 deletions
|
|
@ -171,7 +171,8 @@ class HVAC_Community_Events {
|
|||
add_action('template_redirect', array($this, 'check_event_summary_auth'));
|
||||
add_action('template_redirect', array($this, 'check_email_attendees_auth'));
|
||||
add_action('template_redirect', array($this, 'check_certificate_pages_auth'));
|
||||
add_action('template_redirect', array($this, 'check_master_dashboard_auth'));
|
||||
// Disabled: Using centralized access control in HVAC_Access_Control instead
|
||||
// add_action('template_redirect', array($this, 'check_master_dashboard_auth'));
|
||||
add_action('template_redirect', array($this, 'check_google_sheets_auth'));
|
||||
add_action('template_redirect', array($this, 'ensure_registration_page_public'), 1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue