Switch to HTTP Basic Auth

Resolves T115
This commit is contained in:
Marcel Kapfer (mmk2410) 2016-05-17 22:36:26 +02:00
parent 42f1992c97
commit 5e45579ef1
5 changed files with 19 additions and 88 deletions

View file

@ -9,13 +9,13 @@ use \Psr\Http\Message\ResponseInterface as Response;
require '../../../vendor/autoload.php';
require '../../../res/php/Config.php';
include '../auth/auth.php';
use \mmk2410\rbe\config\Config as Config;
$config = new Config("../../../config.yaml", '../../../vendor/autoload.php');
$settings = $config->getConfig();
include '../auth/auth.php';
if ($settings["rcc"]["api"] == "on" && $settings["rcc"]["rcc"] == "on") {
$app = new \Slim\App();