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

Make sure deleted accounts can't make posts or comments #1602

Closed
dessalines opened this issue May 5, 2021 · 2 comments
Closed

Make sure deleted accounts can't make posts or comments #1602

dessalines opened this issue May 5, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@dessalines
Copy link
Member

dessalines commented May 5, 2021

https://lemmy.ml/post/62647


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@dessalines dessalines added the bug Something isn't working label May 5, 2021
@Nutomic
Copy link
Member

Nutomic commented May 5, 2021

Wouldnt it be enough to do a forced logout on the backend on account deletion?

@dessalines
Copy link
Member Author

I just checked the front end, and I'm not doing a logout, so I can fix that easily.

I think we just have to set the validator time to enforce a logout: https://github.com/lemmynet/lemmy/blob/upgrade_pictrs_4/crates/db_queries/src/source/local_user.rs#L86

So we need to do that for the back end delete too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants