Skip to content
Snippets Groups Projects
Commit c2eb026d authored by Dominik Eckelmann's avatar Dominik Eckelmann
Browse files

changed error code for unauthorized method calls.

parent 4ea1d549
No related branches found
No related tags found
No related merge requests found
...@@ -158,7 +158,7 @@ class RemoteAPI { ...@@ -158,7 +158,7 @@ class RemoteAPI {
*/ */
public function forceAccess() { public function forceAccess() {
if (!$this->hasAccess()) { if (!$this->hasAccess()) {
throw new RemoteAccessDeniedException('server error. not authorized to call method', -32603); throw new RemoteAccessDeniedException('server error. not authorized to call method', -32604);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment