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

attempt install does not allow Login. #1

Open
DomenicTroilo opened this issue Jul 15, 2022 · 3 comments
Open

attempt install does not allow Login. #1

DomenicTroilo opened this issue Jul 15, 2022 · 3 comments

Comments

@DomenicTroilo
Copy link

Hi, I have installed this code into an ubuntu server. I can't generate an email from my server, so in the sql setup, I set the default value for activated to 1, so users are automatically active.

I get to the login screen but I never get past this, various errors can be generated aka if I use an invalid password or invalid user, but I never get to the dashboard after inputting a valid account.

Note the userblobs table does get new values after attempting to login. Any suggestions on what may be required next? Is setting the activated value to 1 enough to pass the registration?

@zbee
Copy link
Owner

zbee commented Jul 15, 2022

I'll attempt to replicate it this weekend.

Assuming you intend to code on this, I'd add dumping to the insertUserBlob and login methods to see what it's reporting the error as, or checking your php error log to see if there are issues with the hash creation, as I assume that will be the culprit.

If you enabled encryption, that's the culprit, because I doubt that is set up correctly looking at it now.

Does your user table entry contain a salt?

@DomenicTroilo
Copy link
Author

No encryption anywhere, and there is salt created Was not intending to code, just going to run a local Catan with friends.

@zbee
Copy link
Owner

zbee commented Jul 15, 2022

Understood, I'll note that it is not a fully functioning game. You've peaked my interest in the project again so I'll work on it, but it is not really playable even if able to log in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants