From 3b29a6943d6c6c79eada1515fcdc203493ffe253 Mon Sep 17 00:00:00 2001 From: "Leigh B. Stoller" <stoller@flux.utah.edu> Date: Mon, 12 May 2008 11:58:10 +0000 Subject: [PATCH] Bug fix to last revision. --- account/newuser.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account/newuser.in b/account/newuser.in index 2a0617495f..6a3b151ae3 100644 --- a/account/newuser.in +++ b/account/newuser.in @@ -276,7 +276,7 @@ UserError("Email address already in use; please pick another!") my $pswd = $xmlparse->{'attribute'}->{'password'}->{'value'}; # Admins can "star" the password entry. -if ($this_user->IsAdmin() && $pswd eq "*") { +if (defined($this_user) && $this_user->IsAdmin() && $pswd eq "*") { $newuser_args{'usr_pswd'} = "*"; } else { -- GitLab