Skip to content
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

[Bug] Login bug #63

Closed
Coo-ops opened this issue May 23, 2022 · 1 comment
Closed

[Bug] Login bug #63

Coo-ops opened this issue May 23, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Coo-ops
Copy link
Contributor

Coo-ops commented May 23, 2022

boxbilling/boxbilling#984

What happened?

After logging out of the BoxBilling site, I am unable to log into the site.

After reinstalling BoxBilling 4.22 I could never log back into the system using the admin account the first ime.
On another attempt, I created another admin user just after installation, and that user could not log in either from another device or browser.
On another occasion, I created a standard user after installation and was able to login in a different browser with the standard user, but not with the initial admin user created at installation.
a)I copied the password HASH from the working user account to the admin user "pass" field but that didn't work either.
b) So in looking at another Boxbilling issue about the trailing slash, I noticed that there is a SALT included in the bb-config.php file but not in the database in the "table:admin".

So to fix the problem, I copied the salt from the bb-config.php file and placed it in the salt field for each user, and this allowed all the users to log into the site.

My question is,

Is this by design to not include the "SALT" in the database for each user?
Did I miss something during the installation process that caused this to work this way?
Is this a BUG and the installation process is supposed to add the SALT to each user upon the user creation process?

BoxBilling Version

v4.22-beta.1
What version of PHP are you running?

7.4x
Additional Notes

Additional notes

@Coo-ops Coo-ops added the bug Something isn't working label May 23, 2022
@John-S4
Copy link
Member

John-S4 commented Jul 27, 2022

Failed to reproduce this bug despite installing current version on nginx, Apache, and Litespeed and running different PHP versions.

There are no reports of it from any other user, so I think that for now we can assume that it has either been solved since the bug report or is something highly environment specific.

Closing this issue for now, can be reopened in the future if there are more reports of it occurring.

@John-S4 John-S4 closed this as completed Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants