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

Admin user can accidentally remove self #456

Closed
yakatz opened this Issue Apr 10, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@yakatz

yakatz commented Apr 10, 2013

It should not be possible for an admin to lock themselves out of the program.
https://github.com/errbit/errbit/blob/master/app/controllers/users_controller.rb#L38 is probably around where is should go.

@shingara

This comment has been minimized.

Show comment
Hide comment
@shingara

shingara May 8, 2013

Member

Can be a good to avoid this issue.

Member

shingara commented May 8, 2013

Can be a good to avoid this issue.

@shingara shingara closed this in f240944 Jun 8, 2013

shingara added a commit that referenced this issue Jun 8, 2013

opsidao added a commit to opsidao/errbit that referenced this issue Jul 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment