This commit is contained in:
Naden
2026-04-25 04:51:56 +07:00
parent ee40989c37
commit 8beaae7547
4 changed files with 46 additions and 51 deletions

View File

@@ -155,27 +155,28 @@ abstract class BaseController extends Controller
public function initControllers()
{
$bypassed = [
'/auth' => 'POST',
'/auth/v2' => 'POST',
'/user' => 'POST',
'/user-verifications/request-otp' => 'POST',
'/user-verifications/verification-otp-code' => 'POST',
'/user-verifications/resend-otp-code' => 'POST',
'/user-verifications/upload-face-photos' => 'POST',
'/forgot-password' => 'POST',
'/reset-password' => 'POST',
'/pelanggaran/feedback' => 'POST',
'/list-pelanggaran' => 'GET',
'/pelanggaran/get-feedback-by-id' => 'POST',
'/pencarian-pelanggaran-2' => 'POST',
'/check-bypass-liveness' => 'GET',
'/koperasi' => 'GET',
'/koperasi/' => 'GET',
'/get-distribusi-shu-mingguan/' => 'GET',
'/get-distribusi-shu-mingguan' => 'GET',
'/live-gold-price' => 'GET',
'/update-profile' => 'POST',
'/profile' => 'GET',
'/api/auth' => 'POST',
'/api/auth/v2' => 'POST',
'/api/user' => 'POST',
'/api/user-verifications/request-otp' => 'POST',
'/api/user-verifications/verification-otp-code' => 'POST',
'/api/user-verifications/resend-otp-code' => 'POST',
'/api/user-verifications/upload-face-photos' => 'POST',
'/api/forgot-password' => 'POST',
'/api/reset-password' => 'POST',
'/api/pelanggaran/feedback' => 'POST',
'/api/list-pelanggaran' => 'GET',
'/api/pelanggaran/get-feedback-by-id' => 'POST',
'/api/pencarian-pelanggaran-2' => 'POST',
'/api/check-bypass-liveness' => 'GET',
'/api/koperasi' => 'GET',
'/api/koperasi/' => 'GET',
'/api/get-distribusi-shu-mingguan/' => 'GET',
'/api/get-distribusi-shu-mingguan' => 'GET',
'/api/live-gold-price' => 'GET',
'/api/update-profile' => 'POST',
'/api/profile' => 'GET',
'/api/personel/profil' => 'GET',
];
$publickey = '';

View File

@@ -3,6 +3,7 @@
namespace App\Controllers;
use App\Models\PersonelModel;
use Dhiva\Core\DhivaAES;
class PersonelController extends BaseController
{