LBPUnion / ProjectLighthouse

Project Lighthouse is a clean-room, open-source custom server for LittleBigPlanet.
GNU Affero General Public License v3.0
211 stars 53 forks source link

Prevent password reset spam #973

Closed Slendy closed 10 months ago

Slendy commented 10 months ago

This PR adds an expiration for password reset tokens (they used to live forever apparently) and also prevents someone from generating a new password reset request unless the old one has been removed either manually or after the automated 24h period.

m88youngling commented 10 months ago

My inbox thanks you :(