anvc / scalar

Born-digital, open source, media-rich scholarly publishing that’s as easy as blogging.
Other
231 stars 73 forks source link

Reset password in scalar not working #52

Closed pguerr061703 closed 7 years ago

pguerr061703 commented 7 years ago

I can't seem to reset my password in scalar. As soon as I click forgot password and enter my email address and click "reset password" ...nothing happens.

Scalar is not doing anything...just waiting.

craigdietrich commented 7 years ago

Scalar uses SMTP to send emails if configured to do so, so I'm guessing either a) you've entered SMTP fields into config/local_settings.php, but your server doesn't have SMTP turned on; b) SMTP settings haven't been added to config/local_settings.php, in which case Scalar will revert to PHP's mail() function, which is sketchy at best....

craigdietrich commented 7 years ago

If push comes to shove you should be able to simply delete the value of 'password' in the users table of the database (e.g., in phpMyAdmin), in which case Scalar should prompt you to add one when you try to log in again.

craigdietrich commented 7 years ago

@pguerr061703 I might suggest removing the SMTP fields and setting 'smtp_auth' to false, to test to see if your server's PHP mail() function works .. who knows, it could work just fine for fordham's email system.

Back to SMTP: what do the logs say (if anything)?