email event
Permalink
So,
I'm working on a community sort of website, based on concrete5.6.
Now, my clients wants a to automaticly login by clicking a link in their email.
This part is no problem.
But...
How do i create these links?
I wanted to plug in to a before_email_send event of some sorts, but there is none, or is there?
What i wanted to do is scan the email for links to the page, and alter them so they can automaticly log me in (creating a package for this functionality).
Is there a way to do this?
Or should i alter every email template?
Thanks.
Erik
I'm working on a community sort of website, based on concrete5.6.
Now, my clients wants a to automaticly login by clicking a link in their email.
This part is no problem.
But...
How do i create these links?
I wanted to plug in to a before_email_send event of some sorts, but there is none, or is there?
What i wanted to do is scan the email for links to the page, and alter them so they can automaticly log me in (creating a package for this functionality).
Is there a way to do this?
Or should i alter every email template?
Thanks.
Erik
I would advise against your customer . This is not a secure method.
Anything for the customer.
Yes,
It is insecure indeed.
But the security impact can be limited by using a time limit per unique id.
So if the mail would be send today, the login link wouldn't work anymore in a week.
But there is no way tot do this?
Then i gues i have to modify every email template.
Thanks,
Erik
It is insecure indeed.
But the security impact can be limited by using a time limit per unique id.
So if the mail would be send today, the login link wouldn't work anymore in a week.
But there is no way tot do this?
Then i gues i have to modify every email template.
Thanks,
Erik