Merge branch 'hotspotbilling:Development' into Development

This commit is contained in:
Focuslinkstech
2024-05-17 14:39:03 +01:00
committed by GitHub
8 changed files with 18 additions and 9 deletions

View File

@ -163,7 +163,7 @@ class User
$id = User::getID();
}
$d = ORM::for_table('tbl_customers')->find_one($id);
if ($d['status'] != 'Banned') {
if ($d['status'] == 'Banned') {
_alert(Lang::T('This account status') . ' : ' . Lang::T($d['status']), 'danger', "logout");
}
if (empty($d['username'])) {