The FOSSBilling Forum

Full Version: Admin Login doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The installation went well; I followed all the steps.
I was able to create a test user to see what the interface looks like from a customer's perspective. I found it quite interesting and very useful.
For some reason, I'm unable to authenticate to the admin account.
I accessed phpMyAdmin, selected the corresponding database, accessed the user field, changed the password, and encrypted it with MD5.
I tried to log in, but it still gives an error. I'm doing something wrong.
The authentication area I'm using is:
Ex: domain.com/admin/staff/login
Does anyone have a solution for this? Have you encountered this issue? 
Thank you.
Hi!

Sorry for the delayed response. I'm quite swamped right now with life Smile

The password should not be MD5 encoded in the database (that's actually a pretty big security no-no).
It's encrypted using PHP's password_hash function.

You can this page to generate a new hash, I would encourage just using a temporary placeholder and then updating it from within the FOSSBilling interface once it's reset.
https://onlinephp.io/password-hash
(10-03-2024, 12:50 AM)BelleNottelling Wrote: [ -> ]Hi!

Sorry for the delayed response. I'm quite swamped right now with life Smile

The password should not be MD5 encoded in the database (that's actually a pretty big security no-no).
It's encrypted using PHP's password_hash function.

You can this page to generate a new hash, I would encourage just using a temporary placeholder and then updating it from within the FOSSBilling interface once it's reset.
https://onlinephp.io/password-hash

Hi, I have uninstalled and reinstalled 4 times because each time I install FOSSBilling, it works great, but a few days later I cannot login anymore and have to delete the software because the password won't work. I want to make this work, but it is frustrating.

Is there a reason this keeps happening?

I am running it on a separate subdomain on a Plesk VPS.

Thanks for the help!
I figured it all out, I wasn't paying attention to the fact that after the first time you login, it takes you to the Admin login but after that, you have to specify the url for the admin page.

Sorry for not paying attention lol.
That's actually a fairly common issue for people who are new to FOSSBilling - It's probably worth adding something to the troubleshooting documentation.

Happy you figured it out!