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

Bypassing registration approval using forgot password feature #2591

Closed
pkotnis opened this issue Nov 28, 2022 · 2 comments
Closed

Bypassing registration approval using forgot password feature #2591

pkotnis opened this issue Nov 28, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@pkotnis
Copy link

pkotnis commented Nov 28, 2022

Issue Summary

For Lemmy instances that currently require manual registration approval (such as lemmy.ml), I believe it is possible to bypass the approval using forgot password feature

Steps to Reproduce

  1. Create an account on a Lemmy instance that requires registration approval (such as lemmy.ml)
  2. Before your account gets approved, go to Lemmy's login page, provide your email/username and click "forgot password"
  3. Once you receive the "Password Reset Request" email, click the link inside of it
  4. Change your password
  5. Voilà, you're now logged in, even tho your account is still pending approval.
@pkotnis pkotnis added the bug Something isn't working label Nov 28, 2022
@Nutomic
Copy link
Member

Nutomic commented Nov 30, 2022

Right there is a check missing. Thanks for reporting!

@dessalines
Copy link
Member

Thanks for this!

Its these types of things that are so hard to think about beforehand.

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

3 participants