Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

Cannot login as new user other than admin #220

Open
CLEMENTJOHNSHAJI opened this issue Oct 17, 2018 · 4 comments
Open

Cannot login as new user other than admin #220

CLEMENTJOHNSHAJI opened this issue Oct 17, 2018 · 4 comments

Comments

@CLEMENTJOHNSHAJI
Copy link

Hi, I had successfully setup the project and was able to login as an admin. When I create a new user I am getting a success message like “Thank you for signing up! You will receive an email shortly confirming the verification of your account.”
But when I try to login as an user I got the following message.
"Your account has been created, but you cannot log in until it has been verified".
Every user is created in my Database, but the validation is not functioning properly (no verification mail is received) and the result is not updated correctly in Database. So I can’t login as any user other than Admin.
error2
error21

I would like to work on this issue. Can i work on this?

Also, Other than settings related issues, found some version related issues (mentioned in following picture) like the following on the code.
error_print

@mattish91
Copy link

Well, is your email settings setup correctly?

Do you recive that verification email?

What happens when you click the link in your verification email?

There is other ways to verify users than just the email, you can verify them manually in the users section under "Manage Users".

I would most likely think that you didn't verify the account before loging in, thats why you get that message.

@atharvaunde
Copy link

Hey @CLEMENTJOHNSHAJI
There might be issue with xampp server !
I deployed on a Ubuntu server and it is working fine. Check ur mail configuration (specially the mail server).
Mails take some time to get into inbox! also check ur spam box!
I used my gmail account to do the mail stuff and mails land into inbox perfectly!

@budiony
Copy link

budiony commented Oct 18, 2018

I have had similar problem, but it was just settings of the mail server itself. You should check the database table app_config and look for settings mail_server, mail_host, mail_user, etc. and change the values with proper ones. This login system relies on PHPMailer class and uses SMTP authentication for sending emails (look at file mailhandler.php).

For example mail_port in app_config database table should be 587 if mail_security setting is tls.

Also, if you are developing under windows (as I am doing), keep in mind that xampp settings for mail server should be correct in "fake" sendmail app.

As fail-over option you can always manually validate users in section Admin->Manage users.

@mfurkan60
Copy link

Hi, in my opinion SMTP problem . you should check the xammp or wammp server.

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

No branches or pull requests

5 participants