mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 09:45:03 +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;
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue