. * --------------------------------------------------------------------- * @copyright Copyright © 2021 - 2022 Edgard * @license http://www.gnu.org/licenses/gpl.txt GPLv3+ * @link https://github.com/edgardmessias/glpi-singlesignon/ * --------------------------------------------------------------------- */ include ('../../../inc/includes.php'); Session::checkLoginUser(); if (isset($_POST["update"])) { $prefer = new PluginSinglesignonPreference(Session::getLoginUserID()); $prefer->loadProviders(); $prefer->update($_POST); Html::back(); } else { Html::back(); }