<?php

/**
 * Auth Module Routes
 * 
 * This file is automatically loaded by ModuleLoader.
 * Define your authentication routes here.
 * 
 * @var RouteCollection $routes
 */

// Auth routes (session-based)
$routes->group('api/auth', ['namespace' => 'App\Modules\Auth\Controllers'], function ($routes) {
    $routes->post('login', 'AuthController::login');
    $routes->post('logout', 'AuthController::logout');
    $routes->get('me', 'AuthController::me');
    $routes->post('change-password', 'AuthController::changePassword');
});
