Can't log in as admin because I'm stupid

This is 1.1.5 which has a great option to allow differnt users.
So I set up myself as an admin and then set up an account called users which anyone else can log into and add photos to one folder I created.

Which works great. As soon as anyone goes to the gallery they are automatically logged in since I left the password blank.

However, when I log out to log in as ADMIN, it automatically logs me in as a user.

Pretty obvious really, but means I can no longer log in as admin.

My question is, how can I delete the user account without admin access?

Comments

  • Nevermind, I just deleted the user account in phpMyAdmin.

    Stupid stupid stupid! So the lesson here is don't set up accounts with a null password.
  • You could also just have logged out. Then log back in with the admin user id.
  • Yeah, I tried that. but if an account doesn't have a password it logs in automatically to that one.
  • acrylian Administrator, Developer
    So, where is the problem, simply set always a password...
  • Closed this hole in tonight's build.
  • "So, where is the problem, simply set always a password..."

    Only people I know have access to the webfolder, so I trust everyone already.

    I want them to be able to upload photos to one album. Easy enough to give them a password, but if it automatically logs them in then that's even easier for them.

    To be able to log in without a password is a nice feature.

    Not a major thing though, just nice.
  • acrylian Administrator, Developer
    All right, never mind!
Sign In or Register to comment.