mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2024-09-21 07:16:26 +08:00
any Users can change password
This commit is contained in:
parent
61060c4173
commit
2c16bb289e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue