beyond-all-reason / teiserver

Middleware server for online gaming
https://www.beyondallreason.info/
MIT License
46 stars 46 forks source link

Don't create a reset code at user creation #311

Closed geekingfrog closed 1 month ago

geekingfrog commented 1 month ago

The code to verify the email is created and stored under user.stat.verification_code, and the reset code created was just useless. The code that removed the use of this token was introduced in 6668f473c "general cleanup", that seems to have been an oversight. Fixes https://github.com/beyond-all-reason/teiserver/issues/310