opendataphilly / opendataphilly-ckan

Port of OpenDataPhilly to CKAN
3 stars 2 forks source link

Users are unable to reset passwords #100

Closed rcheetham closed 5 years ago

rcheetham commented 5 years ago

Two users have reported that they are unable to reset their passwords and they receive the following error:

Could not send reset link: SMTPAuthenticationError(535, '5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials w34sm2306200qth.81 - gsmtp')

I attempted to reset my own password using "rcheetham" and received the same error.

rbreslow commented 5 years ago

It looks like someone changed the password to the info@opendataphilly.org account:

Gmail 2019-06-14 13-51-43

The entry in LastPass was updated, so I think there was a breakdown in communication where this should have been surfaced so we could have updated the application's configuration.

I replaced the value of smtp.password in /etc/ckan/default/production.ini, and restarted the apache2 service.

After that, I was able to request a password reset:

image

I made sure to update the group_vars/staging file on the file share as well.

rbreslow commented 5 years ago

Another thought is that it might be better to use a noreply@opendataphilly.org email for automated emails from CKAN.

It wouldn't have crossed my mind that an information contact email address would also be used by the application.