From baf564640e1af29fd6d1cc2e627ed81a430e2034 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Mon, 1 Apr 2002 11:49:04 +0000 Subject: Fix for bug 23067: Allow the user to change their email address through the preferences. Sends out tokens in email to both addresses which have to be confirmed by the new address, and can be cancelled by the old one. Entering your password on the preferences page is required to initiate the process. Patch by John Vandenberg r= myk, justdave --- template/default/prefs/account.tmpl | 46 +++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) (limited to 'template/default/prefs/account.tmpl') diff --git a/template/default/prefs/account.tmpl b/template/default/prefs/account.tmpl index 486aba082..e436d07a5 100644 --- a/template/default/prefs/account.tmpl +++ b/template/default/prefs/account.tmpl @@ -21,17 +21,27 @@ [%# INTERFACE: # realname: string. The user's real name, if any. # login: string. The user's Bugzilla login email address. + # login_change_date: string. The date the email change will be complete. (optional) + # new_login_name: string. The user's new Bugzilla login whilst not confirmed. (optional) #%] - + + + + + + + @@ -53,4 +63,36 @@ + + [% IF Param('allowemailchange') %] + [% IF login_change_date %] + [% IF new_login_name %] + + + + + + + + + [% ELSE %] + + + + + + + + [% END %] + [% ELSE %] + + + + + [% END %] + [% END %] +
Old password: + Please enter your existing password to confirm account changes. +
Password: - +

New password:
Pending email address:[% new_login_name %]
Change request expires:[% login_change_date %]
Confirmed email address:[% login FILTER html %] +
Completion date:[% login_change_date %]
New email address: + +
-- cgit v1.2.3-24-g4f1b