Commit 3f689af3 authored by Leigh Stoller's avatar Leigh Stoller

Set current user properly when called as nobody from web interface.

parent 86c0dc22
......@@ -258,8 +258,9 @@ if (! defined($target_user)) {
my $this_user;
if (getpwuid($UID) eq "nobody") {
$this_user = $target_user;
}
# The web interface sets this.
$this_user = User->ImpliedUser();
x}
else {
$this_user = User->ThisUser();
......
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