N°7001 - Being admin to generate oAuth token is too restrictive

This commit is contained in:
denis.flaven@combodo.com
2023-12-13 13:57:01 +01:00
parent 797aae58e3
commit a1e2b648f4

View File

@@ -10,6 +10,5 @@ IssueLog::Trace('----- Request: '.utils::GetRequestUri(), LogChannels::WEB_REQUE
$sTemplates = APPROOT.'templates/pages/backoffice/oauth';
$oUpdateController = new OAuthLandingController($sTemplates, 'core');
$oUpdateController->AllowOnlyAdmin();
$oUpdateController->SetDefaultOperation('Landing');
$oUpdateController->HandleOperation();