From 1d971ce0a409d7d324c742cd54a0d67ca7132d55 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Thu, 19 Aug 1999 07:06:00 +0000 Subject: Patch by Chris Baldwin -- allow optional entry of the user's realname. Note that nothing actually makes use of this info at present. --- createaccount.cgi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'createaccount.cgi') diff --git a/createaccount.cgi b/createaccount.cgi index 3d1fa4c58..cc9bdd018 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -44,6 +44,7 @@ Content-type: text/html PutHeader("Create a new bugzilla account"); my $login = $::FORM{'login'}; +my $realname = $::FORM{'realname'}; if (defined $login) { CheckEmailSyntax($login); if (DBname_to_id($login) != 0) { @@ -53,7 +54,7 @@ if (defined $login) { print "the E-mail me a password button.\n"; exit; } - my $password = InsertNewUser($login); + my $password = InsertNewUser($login, $realname); MailPassword($login, $password); print "A bugzilla account for $login has been created. The\n"; print "password has been e-mailed to that address. When it is\n"; @@ -66,7 +67,8 @@ if (defined $login) { print q{ To create a bugzilla account, all that you need to do is to enter a legitimate e-mail address. The account will be created, and its -password will be mailed to you. +password will be mailed to you. Optionally you may enter your real name +as well.
@@ -74,6 +76,10 @@ password will be mailed to you. + + + +
E-mail address:
Real name:
}; -- cgit v1.2.3-24-g4f1b