mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2504 - Add feature to connect Office mail box with OAuth2 for Microsoft Graph N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth * 2.7 migration (wip)
15 lines
412 B
PHP
15 lines
412 B
PHP
<?php
|
|
|
|
use Combodo\iTop\Controller\OAuth\OAuthWizardController;
|
|
|
|
require_once('../approot.inc.php');
|
|
require_once(APPROOT.'application/startup.inc.php');
|
|
|
|
$sTemplates = APPROOT.'templates/pages/backoffice/oauth';
|
|
|
|
$oUpdateController = new OAuthWizardController($sTemplates, 'core');
|
|
$oUpdateController->AllowOnlyAdmin();
|
|
$oUpdateController->SetDefaultOperation('Wizard');
|
|
$oUpdateController->HandleOperation();
|
|
|