This commit is contained in:
Naden
2026-04-25 05:31:18 +07:00
parent dcb0764bde
commit 0469f2d343
3 changed files with 9 additions and 7 deletions

View File

@@ -157,6 +157,7 @@ abstract class BaseController extends Controller
$bypassed = [
'/api/auth' => 'POST',
'/api/personel/profil' => 'GET', // Allow profile access for QR
'/api/personel/drh' => 'GET', // Allow DRH access for QR
];
$this->initHeader();

View File

@@ -19,9 +19,6 @@ class SuperUserController extends BaseController
*/
public function auth()
{
// Debug point
echo json_encode(["status" => "reached auth"]); die;
$inputUsername = $this->post('username');
$inputPassword = $this->post('password');