Closed danielbehrendt closed 2 years ago
In that case, the cookie stored in the browser would expose the URL that allows the action. A possible solution would be to encrypt this data together with the access code in the cookie value.
Yes, you're right. But your suggestion sound like a good solution.
@cesargb Do you hav any plans to integrate this and do a new release?
@danielbehrendt if you want, you can send a PR
I think it would be better to set the "path" in cookie to the current path of the request instead of setting it only to "/"
otherwise all MagicLinks with the same access code will be visible if this was entered already on another link.