Commit a838891c authored by Evan Prodromou's avatar Evan Prodromou

set the current user in api actions

parent 32f47004
......@@ -204,6 +204,8 @@ class ApiAuthAction extends ApiAction
}
}
$this->auth_user = $user;
global $_cur;
$_cur = $this->auth_user;
Event::handle('EndSetApiUser', array($user));
}
......
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