ZenphotoCMS Forum
Can't log in as admin because I'm stupid - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Can't log in as admin because I'm stupid (/thread-2457.html)



Can't log in as admin because I'm stupid - drawbridgep - 2008-03-16

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?




Can't log in as admin because I'm stupid - drawbridgep - 2008-03-16

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.




Can't log in as admin because I'm stupid - sbillard - 2008-03-17

You could also just have logged out. Then log back in with the admin user id.




Can't log in as admin because I'm stupid - drawbridgep - 2008-03-18

Yeah, I tried that. but if an account doesn't have a password it logs in automatically to that one.




Can't log in as admin because I'm stupid - acrylian - 2008-03-18

So, where is the problem, simply set always a password...




Can't log in as admin because I'm stupid - sbillard - 2008-03-19

Closed this hole in tonight's build.




Can't log in as admin because I'm stupid - drawbridgep - 2008-03-19

"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.




Can't log in as admin because I'm stupid - acrylian - 2008-03-19

All right, never mind!