-
Notifications
You must be signed in to change notification settings - Fork 0
Link Validation Page to Backend and add Confirmation #135
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The new validation page holds a list of users awaiting validation. Currently, when an admin presses accept/reject it just prints a message to the console.
First add a confirmation popup when a user is accepted/rejected. Should print a message along the lines of "are you sure you want to accept/reject [username]".
Next, please link these buttons to the backend so when they are accepted, their isValidated field is set to TRUE. When they are rejected, their user document should be deleted from the database.
Also, remove that user's validation object from the frontend once the button is pressed.
Le us chow if you have questions!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request