Closed Bug 1502198 Opened 7 years ago Closed 7 years ago

GitHubAuth cannot be removed from user_info_class in data/params if extension enabled or all logins will no longer work

Categories

(bugzilla.mozilla.org :: Extensions, enhancement)

Staging
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

The GitHubAuth extension monkey patches Bugzilla::Auth::Login::CGI::can to return undef if method equals 'fail_nodata'. This is fine as long as GitHubAuth is in the user_info_class param. This way the GitHubAuth's fail_nodata is always called first. But if GitHubAuth is not in the user_info_class setting, then the normal CGI::fail_nodata is not called and logins fail to work properly since the login page is not displayed. We need to update the GitHubAuth extension code to allow the fallbacks to work properly even when GitHubAuth is not being used.
Attached file GitHub Pull Request
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Merged to master.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: Extensions: GitHubAuth → Extensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: