Closed Bug 158660 Opened 23 years ago Closed 23 years ago

confirm_login in CGI.pl should use a template for the login dialog

Categories

(Bugzilla :: User Accounts, defect)

2.17
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: burnus, Assigned: gerv)

Details

Attachments

(1 file)

If one goes to query.cgi?GoAheadAndLogIn=1 confirm_login in CGI.pl is called which displays the login dialog. This function should use a template for the rather common login dialog. (bugzilla.org says to the 2.16 goals "Templatization of all customer-visible CGI pages, to allow easy customization by the administrator." which is clearly not met ...)
Yep, the login dialog should be templatised. As to the goal being not met, you are possibly right. But the world can't wait for all the other improvements that 2.16 brings any longer. Yesterday, I grepped all the CGIs for "print" statements and, after eliminating false positives, came up with a definitive list of places where templatisation is still necessary. There are actually only a few. I then filed bugs on most of them - but not CGI.pl. Gerv
Attached patch Patch v.1Splinter Review
Templatisation of the login page. (All the other non-templatised things in CGI.pl are to do with LDAP, and are therefore not urgent.) Gerv
Is this 2.18, then? Tentatively marking so. And reviewing, in a moment. -> Gerv, also. :-)
Assignee: myk → gerv
Target Milestone: --- → Bugzilla 2.18
Absolutely. If I ask for review on anything, it's because it's 2.18, even if I haven't marked it as such :-) Gerv
Comment on attachment 92467 [details] [diff] [review] Patch v.1 >+[%# Allow the user to request a token to change their password (unless >+ # we are using LDAP, in which case the user must use LDAP to change it). >+ #%] This comment not only applies to requesting change tokens, but also for creating new accounts (a link for which is enclosed in the same UNLESS block). Rewrite this comment to reflect the reality, and you've got 2xr=jouni.
Attachment #92467 - Flags: review+
Fixed. Checking in CGI.pl; /cvsroot/mozilla/webtools/bugzilla/CGI.pl,v <-- CGI.pl new revision: 1.163; previous revision: 1.162 done RCS file: /cvsroot/mozilla/webtools/bugzilla/template/en/default/account/login.html.tmpl,v done Checking in template/en/default/account/login.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/account/login.html.tmpl,v <-- login.html.tmpl initial revision: 1.1 done Gerv
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: