aboutsummaryrefslogtreecommitdiffstats
path: root/createaccount.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/createaccount.cgi b/createaccount.cgi
index 577ab8dba..8a5b85782 100755
--- a/createaccount.cgi
+++ b/createaccount.cgi
@@ -61,10 +61,10 @@ Set-Cookie: Bugzilla_logincookie= ; path=$cookiepath; expires=Sun, 30-Jun-80 00:
print "Content-Type: text/html\n\n";
my $login = $::FORM{'login'};
-my $realname = trim($::FORM{'realname'});
if (defined($login)) {
# We've been asked to create an account.
+ my $realname = trim($::FORM{'realname'});
CheckEmailSyntax($login);
trick_taint($login);
$vars->{'login'} = $login;