diff --git a/data/web/oauth/authorize.php b/data/web/oauth/authorize.php index 48e99b0c..1fdcd033 100644 --- a/data/web/oauth/authorize.php +++ b/data/web/oauth/authorize.php @@ -1,69 +1,38 @@ -validateAuthorizeRequest($request, $response)) { - $response->send(); - exit(); -} - -if (!isset($_POST['authorized'])): -require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/header.inc.php'; - -?> -
=$lang['oauth2']['access_denied'];?>
- -=$lang['oauth2']['scope_ask_permission'];?>:
-{{ lang.oauth2.scope_ask_permission }}:
+{{ lang.oauth2.access_denied }}
+ {% endif %} +