mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
We used to generate invite keys that were 32-characters long which were not very friendly and lead to very long links. This commit changes the generation method to use almost all alphanumeric characters to produce a 10-character long invite key. This commit also introduces a rate limit for redeeming invites because the probability of guessing an invite key has increased.