Commit bb588c53 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor change to previous revision.

parent d4458d3b
......@@ -924,7 +924,8 @@ sub FreezeUser()
fatal("$user is still active! Cannot freeze the account!")
if (!$update);
$target_user->SetStatus(USERSTATUS_ACTIVE());
$target_user->SetStatus(USERSTATUS_FROZEN());
$status = USERSTATUS_FROZEN();
}
$sfsupdate = 1;
......@@ -949,6 +950,7 @@ sub ThawUser()
fatal("$user is not active! Cannot thaw the account!")
if (!$update);
$target_user->SetStatus(USERSTATUS_ACTIVE());
$status = USERSTATUS_ACTIVE();
}
$sfsupdate = 1;
......
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