# Session Login

- Module key: `SessionLogin`
- Category: `General`
- Path: `app/Modules/SessionLogin`

## Ringkasan

Session Login berada di kategori General. Modul ini memiliki 7 definisi route, 1 controller, 1 model, dan 1 view. Tidak ada migration khusus module yang terdeteksi; kemungkinan memakai tabel core atau hanya modul UI/utility.

## Flowchart

```mermaid
flowchart TD
    A[User / Operator] --> B[Menu Session Login]
    B --> C[Routes: 7]
    C --> D[Controllers: 1]
    D --> E[Views: 1]
    D --> F[(Tables: 0<br/>No module table)]
    D --> G[Validation / Business Rules]
    G --> F
    F --> H[Report / Export / Audit]
```


## Routes

- `Route::middleware(['auth', 'ip.block', 'menu.access'])->prefix('session_login')->name('session_login.')->group(function () {`  
  File: `app/Modules/SessionLogin/routes/web.php`
- `Route::get('/', [SessionLoginController::class, 'index'])->name('index');`  
  File: `app/Modules/SessionLogin/routes/web.php`
- `Route::delete('{id}', [SessionLoginController::class, 'destroy'])->name('destroy');`  
  File: `app/Modules/SessionLogin/routes/web.php`
- `Route::post('kick-ip', [SessionLoginController::class, 'kickIp'])->name('kick_ip');`  
  File: `app/Modules/SessionLogin/routes/web.php`
- `Route::post('force-logout-user', [SessionLoginController::class, 'forceLogoutUser'])->name('force_logout_user');`  
  File: `app/Modules/SessionLogin/routes/web.php`
- `Route::post('block-ip', [SessionLoginController::class, 'blockIp'])->name('block_ip');`  
  File: `app/Modules/SessionLogin/routes/web.php`
- `Route::patch('unblock-ip/{id}', [SessionLoginController::class, 'unblockIp'])->name('unblock_ip');`  
  File: `app/Modules/SessionLogin/routes/web.php`

## Controllers

- `app/Modules/SessionLogin/Http/Controllers/SessionLoginController.php`

## Models

- `app/Modules/SessionLogin/Models/BlockedIp.php`

## Views

- `app/Modules/SessionLogin/Resources/views/index.blade.php`

## Database / Migration

- Tidak ada migration module terdeteksi.
