mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-21 20:03:08 +02:00
Stage 6 has been completed, and some classes have been merged into one
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user