SAND-framework/application/include/controlleurs/authentification.php
2019-12-05 18:29:10 +01:00

9 lines
No EOL
272 B
PHP
Executable file

<?php
require CONFIG_PATH . DIRECTORY_SEPARATOR . "authentification-config-example.php";
$hybridauth = new Hybridauth\Hybridauth($config);
$adapters = $hybridauth->getConnectedAdapters();
$templateData['hybridauth'] = $hybridauth;
$templateData['adapters'] = $adapters;