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
this will be a singular account with a managed login (only admins can change the password)
Steps
you will need to update the user table to add a new user type to the user type enum called "client"
you will also need to update user type enums in the frontend to reflect this change as well
for all client forms pages, make these protected routes that only the client user type can access (see other routes in app.tsx if confused on how to do this)
since we do not want clients to be able to create accounts the client account type will have a singular instance that is managed completely by the admins on this page
i have already created a singular client login (email: [email protected] password: password)
now you need to implement the flows for the admin to edit this account
Also this client needs to be able to login see the login flow here
since this account is being managed by the admin do not add the client to create account
Acceptance Criteria
frontend types reflect new user type: client
only client-type users can access forms
client-type accounts cannot access any other pages
admins have new tab on their settings page to edit the client login info
admins can then update the client login email and password
new option is added to account logins that lets clients log into their accounts
clients can now follow full login flow to access
clients are then redirected to /client-landing-page route (this is just a placeholder for now so don't worry when it doesn't have anything on it 🤣
The text was updated successfully, but these errors were encountered:
Description
Steps
Acceptance Criteria
/client-landing-page
route (this is just a placeholder for now so don't worry when it doesn't have anything on it 🤣The text was updated successfully, but these errors were encountered: