Updated standard error code
This commit is contained in:
parent
2f59c9c16c
commit
1f9890bba0
3 changed files with 27 additions and 13 deletions
|
@ -32,7 +32,7 @@
|
|||
|
||||
if(!$session->flagExists(SessionFlags::VER_TERMS_OF_SERVICE))
|
||||
{
|
||||
return $rpcRequest->produceError(StandardError::FORBIDDEN, 'Terms of service has already been accepted');
|
||||
return $rpcRequest->produceError(StandardError::METHOD_NOT_ALLOWED, 'Terms of service has already been accepted');
|
||||
}
|
||||
|
||||
try
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue