Form Tools
Administrator account password not working and not possible to retrieve - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Administrator account password not working and not possible to retrieve (/showthread.php?tid=439)



Administrator account password not working and not possible to retrieve - Evensen - Jan 13th, 2010

I have installed v2.0.0-beta-20091012. I seems that all 3 admin accounts are unable to log inn. Seems to be related to the password validation. I have one user account which is possible to log in to, but that does not help much. The retrieve password function is not working either. It says "fine" but the error "Notice: Undefined index: swiftmailer_enabled in /lft/59/8507/www/formtools/global/code/accounts.php on line 302" is visible in the header. I am not really a script guru, so I am a little stuck.

Is it possible to fix this?


RE: Administrator account password not working and not possible to retrieve - Ben - Jan 16th, 2010

Hi Evensen,

Eesh. That sounds like a royal headache. It sounds like the Swift Mailer module isn't installed on your server, but for some reason it thinks it is... most odd.

Admin and client accounts are now encrypted in the database in FT2, so you'll need to manually update them through the database. To do this, go here:
http://docs.formtools.org/encrypt.php

And enter your password. Then, via phpMyAdmin or another DB access tool, find the ft_accounts table (the table prefix may be different for your system) and locate your user account. There, update the password value with the encrypted string generated by the page above.

Having said all this, it's VERY odd that passwords no longer work. I'm wondering if maybe your hosting provider changed the way the md5() encryption routine functions... one user account password failing to work could be attributed to human error, but three sounds really fishy.

Once you've gained access again, take a look over your Swift Mailer plugin - perhaps uninstall & re-install the latest version, just to check you're up to date. Then log out and try the "forget password" page again.

Curious!

- Ben


RE: Administrator account password not working and not possible to retrieve - Evensen - Jan 16th, 2010

(Jan 16th, 2010, 11:52 AM)Ben Wrote: Hi Evensen,

Eesh. That sounds like a royal headache. It sounds like the Swift Mailer module isn't installed on your server, but for some reason it thinks it is... most odd.

Admin and client accounts are now encrypted in the database in FT2, so you'll need to manually update them through the database. To do this, go here:
http://docs.formtools.org/encrypt.php

And enter your password. Then, via phpMyAdmin or another DB access tool, find the ft_accounts table (the table prefix may be different for your system) and locate your user account. There, update the password value with the encrypted string generated by the page above.

Having said all this, it's VERY odd that passwords no longer work. I'm wondering if maybe your hosting provider changed the way the md5() encryption routine functions... one user account password failing to work could be attributed to human error, but three sounds really fishy.

Once you've gained access again, take a look over your Swift Mailer plugin - perhaps uninstall & re-install the latest version, just to check you're up to date. Then log out and try the "forget password" page again.

Curious!

- Ben

Thanks for the answer! I was able to change the password with your solution via phpMyAdmin. With concern to the Swift Mailer I will check it out. Thanks again.
Stein