You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon successful login, it will redirect to dashboard page if there are multiple roles. We need to check the role of the user logged in (in our case diabeticsAdmin, HospitalAdmin, doctor and patient) and redirect to their corresponding dashboard pages.
Upon successful login, it will redirect to dashboard page if there are multiple roles. We need to check the role of the user logged in (in our case diabeticsAdmin, HospitalAdmin, doctor and patient) and redirect to their corresponding dashboard pages.
Url for these pages will be:
diabetics admin --> /dm/diabeticsadmin
doctor dashboard --> /dm/d/userobjectId
patient dashboard --> /dm/p/userobjectId
The text was updated successfully, but these errors were encountered: