Skip to content
Snippets Groups Projects
Commit fddb0e73 authored by adityab3's avatar adityab3
Browse files

(Backend) Fixed authentication bug with preregistered patient authentication

parent 51aec17c
No related branches found
No related tags found
1 merge request!6Uc91v2
......@@ -115,6 +115,9 @@
{
if (userRole.equals("patient")) {
%><%@include file="/auth/patient/menu.jsp"%>
<%
} else if (userRole.equals("preRegisteredPatient")) {
%><%@include file="/auth/preRegisteredPatient/menu.jsp"%>
<%
} else if (userRole.equals("uap")) {
%><%@include file="/auth/uap/menu.jsp"%>
......
......@@ -134,7 +134,8 @@ public class AuthDAO {
case ER:
case LT:
uName = factory.getPersonnelDAO().getName(mid);
break;
break;
case PREREGISTEREDPATIENT:
case PATIENT:
uName = factory.getPatientDAO().getName(mid);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment