[Web] Replaced die(); with exit(); due to code conventions

This commit is contained in:
ntimo committed 2019-10-04 08:40:24 +02:00
1 parent 0f5c930e48
commit cb9ab928b3
3 files changed
+6 -6

No files matched your search

@@ -13,7 +13,7 @@ use OAuth2\ResponseInterface;
* @code
* if (!$resourceController->verifyResourceRequest(OAuth2\Request::createFromGlobals(), $response = new OAuth2\Response())) {
* $response->send(); // authorization failed
* die();
* exit();
* }
* return json_encode($resource); // valid token! Send the stuff!
* @endcode