mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-21 12:03:09 +02:00
26 lines
532 B
PHP
26 lines
532 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 = function_exists('getHMACTokens') ? getHMACTokens() : [];
|
|||
|
|
|
|||
|
|
$this->render('hmacs', [
|
|||
|
|
'hmacs' => $hmacs,
|
|||
|
|
]);
|
|||
|
|
}
|
|||
|
|
}
|