Commit 3b29a694 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Bug fix to last revision.

parent 72bee82d
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment