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

i Want to delete my account but i can't. #1182

Open
ScriptShah opened this issue Oct 15, 2024 · 3 comments
Open

i Want to delete my account but i can't. #1182

ScriptShah opened this issue Oct 15, 2024 · 3 comments

Comments

@ScriptShah
Copy link

Describe the bug
i have sign up to the Idurar and i want to delete my account but i can't.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'setting'
  2. Click on 'admin'
  3. Click on 'your account three dots '
  4. Click on 'delete '
  5. Click on 'Ok '
  6. See error

Expected behavior

the expected behavior is to delete my account and log me out from the application.
Screenshots

image

Desktop (please complete the following information):

  • OS: [Window, Linux]
  • Browser [Chrome, Firefox]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [iPhone6s]
  • OS: [ iOS 15.8.3]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@ScriptShah
Copy link
Author

I want to work on this issue please assign me.

@yashp4858
Copy link
Contributor

yashp4858 commented Oct 15, 2024

Hey @ScriptShah this is not a bug, I think so because you can read the error message as well that you are an admin. So you can't delete the admin.

If you still want to delete just try to create a new admin or assign an admin role to another user.

Please correct me if I am wrong.

@ScriptShah
Copy link
Author

Hey @yashp4858 thanks for the feedback! I understand your point, but from a user experience perspective, it might be more intuitive to allow the user to delete their account and log them out automatically, even if they are an admin. Requiring a user to create a new admin account just to delete their original account adds unnecessary friction, especially if the user simply wants to leave the platform.

A potential improvement could be allowing admins to delete their own accounts, with the application handling reassignment of admin rights if necessary (e.g., prompting to assign another admin before deletion). This would streamline the process and still maintain proper account management within the application.

Let me know your thoughts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants