Fight Against Insecurity : Prevent Admin multiple Login Sessions, its a security threat to phpnuxbill.

plase note: if you are running nuxbill on localhost please set app_stage to something else e.g.
$_app_stage = 'Demo';
its very important
This commit is contained in:
Focuslinkstech
2024-10-10 14:33:27 +01:00
committed by GitHub
parent e737ae9d29
commit c9b9808112
3 changed files with 54 additions and 6 deletions

View File

@ -177,6 +177,7 @@ CREATE TABLE `tbl_users` (
`user_type` enum('SuperAdmin','Admin','Report','Agent','Sales') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`status` enum('Active','Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'Active',
`last_login` datetime DEFAULT NULL,
`login_token` VARCHAR(255),
`creationdate` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;