Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link Validation Page to Backend and add Confirmation #135

Open
bbmcmann opened this issue Apr 9, 2023 · 0 comments
Open

Link Validation Page to Backend and add Confirmation #135

bbmcmann opened this issue Apr 9, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bbmcmann
Copy link
Collaborator

bbmcmann commented Apr 9, 2023

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!

@bbmcmann bbmcmann added the enhancement New feature or request label Apr 9, 2023
@hopieyimmie hopieyimmie self-assigned this Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants