mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-21 04:03:20 +02:00
24 lines
501 B
PHP
24 lines
501 B
PHP
<?php
|
||
|
||
/**
|
||
* HmacController — HMAC Keys (admin/hmacs.php).
|
||
*
|
||
* Листинг HMAC-токенов с edit/delete.
|
||
*
|
||
* Legacy: admin/hmacs.php (273 строки)
|
||
* Route: GET /admin/hmacs → index()
|
||
*/
|
||
class HmacController extends BaseAdminController {
|
||
public function index() {
|
||
$this->requirePermission();
|
||
|
||
$this->setTitle('HMAC Keys');
|
||
|
||
$hmacs = AuthRepository::getAllHMAC();
|
||
|
||
$this->render('hmacs', [
|
||
'hmacs' => $hmacs,
|
||
]);
|
||
}
|
||
}
|