2
0
Fork 0
This commit is contained in:
Luca 2022-04-24 03:18:37 +02:00
parent 3dd3c028e1
commit f1494e3382
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class Message(models.Model):
def gen_token():
return secrets.token_urlsafe(20)
return secrets.token_urlsafe(15) # returns 15 bytes Base64-encoded (times 1.333...) = 20 characters
class LoginToken(models.Model):