tridentli / trident

Trident is a trusted and secure communication platform for enabling better communication between groups of trusted parties
https://trident.li
Apache License 2.0
20 stars 9 forks source link

Erroneous Error Message Upon Changing Password #74

Open stewrg opened 7 years ago

stewrg commented 7 years ago

(Bug, using version Trident 1.4.5):

  1. I have had reports from users that when they change their passwords they get an error message saying "Sending email failed"

  2. In Administrator mode I get a similar message when using the CLI to try and reset the password - and no dual email for password resets get sent.

  3. However If I try to force change passwords to the portal I get the following error message returned from the CLI: "An error occured: Sending email failed" [Note typo in error message]

However: Experimentation indicates that whilst the same error message is generated in all 3 scenarios, the new password is ACTUALLY applied in 1. and 3. - whilst not 2.

massar commented 7 years ago

I have had reports from users that when they change their passwords they get an error message saying "Sending email failed"

This likely is a result from the system sending an email to the person that had their password change, to notify them of that change.

Check that smtp_host + smtp_port + smtp_ssl are properly configured in the trident.conf (/etc/trident/trident.conf) and that they point to a working SMTP relay.

Syslog will show more details of the problem; search for "Sending email to .... failed: ..."

stewrg commented 7 years ago

I have looked back through the logs and cannot find "sending email to*" entries. If I replicate the problem I will resubmit. I do not have access to the trident.conf file (nor would I know a 'working SMTP relay' if it stood up and punched me in the face :/ (i.e. I am a bit of a moron :) )