OpenSource-Tools / LiquidVoting

1 stars 0 forks source link

"Email confirmation" Email missing links #6

Closed kvdmolen closed 9 years ago

kvdmolen commented 9 years ago

This is the content of current email for "email confirmation".

The links are missing the URL (and so not working). Let's stick to the IP address for now.

Hello Administrator,

Please confirm your email address by clicking the following link:

/lf/index/confirm_notify_email.html?secret=B33T2HF6kZBe96q2BBN2fgyv

If this link is not working, please open following url in your web browser:

/lf/index/confirm_notify_email.html

On that page please enter the confirmation code:

B33T2HF6kZBe96q2BBN2fgyv
nktc commented 9 years ago

Updated to use server IP.

kvdmolen commented 9 years ago

I still got the missing links in the "add member" email:

image

nktc commented 9 years ago

Okay, code duplication again. I had changed in in one place but not another.

Note that model/member.lua contains a hard-coded secret key, which is potentially dangerous.