remove You do not have permission to access this page in demo mode

This commit is contained in:
iBNu Maksum
2024-11-19 13:20:53 +07:00
parent 5445aedcd1
commit 242dda2e99

View File

@ -4,9 +4,7 @@
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
* by https://t.me/ibnux
**/
if ($_app_stage != 'Live') {
_alert(Lang::T('You do not have permission to access this page in demo mode'), 'danger', "login");
}
if ($_c['disable_registration'] == 'noreg') {
_alert(Lang::T('Registration Disabled'), 'danger', "login");
}