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

Delete User (DELETE) #5

Open
IshaanKMathur opened this issue Sep 22, 2023 · 0 comments
Open

Delete User (DELETE) #5

IshaanKMathur opened this issue Sep 22, 2023 · 0 comments

Comments

@IshaanKMathur
Copy link
Collaborator

IshaanKMathur commented Sep 22, 2023

Protected Route

You don't want inactive users not being able to delete their accounts.
So, create a route which allows the logged-in user to be deleted from the database.
Return a json message after user has been deleted from db.

@varun10sudhir varun10sudhir changed the title Delete User Delete User -- Admin Sep 22, 2023
@varun10sudhir varun10sudhir changed the title Delete User -- Admin Delete User Sep 22, 2023
@IshaanKMathur IshaanKMathur changed the title Delete User Delete User (DELETE) Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants