mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-18 16:48:51 +02:00
any Users can change password
This commit is contained in:
parent
61060c4173
commit
2c16bb289e
1 changed files with 0 additions and 3 deletions
|
@ -549,9 +549,6 @@ switch ($action) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'change-password':
|
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
|
run_hook('view_change_password'); #HOOK
|
||||||
$ui->display('change-password.tpl');
|
$ui->display('change-password.tpl');
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue