mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 21:09:16 +02:00
See #248: ensure invitation codes are case insensitive
This commit is contained in:
parent
7cfa61292a
commit
46ecc3f103
4 changed files with 4 additions and 4 deletions
|
@ -152,7 +152,7 @@ class User(AbstractUser):
|
|||
|
||||
def generate_code(length=10):
|
||||
return "".join(
|
||||
random.SystemRandom().choice(string.ascii_lowercase) for _ in range(length)
|
||||
random.SystemRandom().choice(string.ascii_uppercase) for _ in range(length)
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue