Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong unsubscribe link format? #2188

Open
a-bali opened this issue Aug 19, 2024 · 1 comment
Open

Wrong unsubscribe link format? #2188

a-bali opened this issue Aug 19, 2024 · 1 comment

Comments

@a-bali
Copy link

a-bali commented Aug 19, 2024

To me it looks like that the way the original unsubscribe links are encoded does not match the way simple-login would handle them.

In app/handler/unsubscribe_encoder.py, line 100:
return f"{config.URL}/dashboard/unsubscribe/encoded?data={encoded}"

In app/dashboard/views/unsubscribe.py, line 76:
@dashboard_bp.route("/unsubscribe/encoded/<encoded_request>", methods=["GET"])

I.e. the links did not work for me, unless I changed the URL format from /dashboard/unsubscribe/encoded?data=DATA to /dashboard/unsubscribe/encoded/DATA.

@DNCD
Copy link

DNCD commented Dec 21, 2024

make sure to add this to your simplelogin.env

[email protected]
[email protected]

after successfully adding those 2 lines make sure to restart sl-app by docker restart sl-app
let me know if anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants