Authentication Endpoint

This commit is contained in:
JonatanRek
2020-04-25 18:04:02 +02:00
parent 8300e47b76
commit e4f37f7686
4 changed files with 45 additions and 4 deletions

View File

@@ -19,5 +19,6 @@ $router->any('/log', 'Log');
$router->any('/rooms', 'Rooms');
$router->get('/api/devices', 'DevicesApi@getAllDevices');
$router->get('/api/login', 'AuthApi@login');
$router->run($_SERVER['REQUEST_METHOD'], '/'.(isset($_GET['url']) ? $_GET['url'] : ''));