Project

General

Profile

Actions

Task #195

open

Hospital Login Monitoring and Management

Added by Varsha N about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Start date:
03/26/2026
Due date:
03/27/2026 (39 days late)
% Done:

0%

Estimated time:

Description

Task: Hospital Login Monitoring and Management

Implement an hospital access control system by adding an is_active column to the hospital_reg table with a default value of 0 during registration. All newly registered hospitals must remain inactive by default, and any login attempt from such accounts should be blocked with the message: “To activate your hospital please contact 7994015932.” Ensure that login is allowed only when is_active is updated to 1, with proper validation applied consistently in the authentication flow.

Provide an interface where the admin can view the hospital_reg table records directly, displaying relevant details such as name, contact information, and current status. Each record should include an Activate/Deactivate toggle control to manage access. When activated (is_active = 1), the hospital should be able to log in immediately. When deactivated (is_active = 0), login access must be restricted.

Ensure the table clearly shows the hospital status (Active/Inactive), provides appropriate success messages upon status changes, and that all updates take effect instantly. The system must handle invalid login attempts, restricted access, and status updates gracefully with proper validation and feedback.

Actions #1

Updated by Ann Maria about 1 month ago

  • Status changed from New to In Progress
Actions #2

Updated by Ann Maria about 1 month ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF