From 2c16bb289e4e219defc0f9794f24e60c4a0d3838 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Mon, 19 Feb 2024 09:12:56 +0700 Subject: [PATCH] any Users can change password --- system/controllers/settings.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/system/controllers/settings.php b/system/controllers/settings.php index 04c4f2d8..d6d79752 100644 --- a/system/controllers/settings.php +++ b/system/controllers/settings.php @@ -549,9 +549,6 @@ switch ($action) { break; case 'change-password': - if (!in_array($admin['user_type'], ['SuperAdmin', 'Admin'])) { - r2(U . "dashboard", 'e', Lang::T('You do not have permission to access this page')); - } run_hook('view_change_password'); #HOOK $ui->display('change-password.tpl'); break;