meraproject/module/core/user/admin/controller.php
keboss-m 5c21d25d45 Initial commit: Merakomis portal, Docker stack and user-reader API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 11:04:05 +03:00

13 lines
231 B
PHP

<?
namespace controller\core\user\admin;
class Api {
function login(){
echo je(\Admin::login($_REQUEST['login'],$_REQUEST['pass']));
}
function exit(){
\Admin::exit();
echo je(array());
}
}