forked from github/plane
fix: removed numbers from magic code (#2570)
This commit is contained in:
parent
02f4916e49
commit
ecde7edf09
@ -249,11 +249,11 @@ class MagicSignInGenerateEndpoint(BaseAPIView):
|
|||||||
|
|
||||||
## Generate a random token
|
## Generate a random token
|
||||||
token = (
|
token = (
|
||||||
"".join(random.choices(string.ascii_lowercase + string.digits, k=4))
|
"".join(random.choices(string.ascii_lowercase, k=4))
|
||||||
+ "-"
|
+ "-"
|
||||||
+ "".join(random.choices(string.ascii_lowercase + string.digits, k=4))
|
+ "".join(random.choices(string.ascii_lowercase, k=4))
|
||||||
+ "-"
|
+ "-"
|
||||||
+ "".join(random.choices(string.ascii_lowercase + string.digits, k=4))
|
+ "".join(random.choices(string.ascii_lowercase, k=4))
|
||||||
)
|
)
|
||||||
|
|
||||||
ri = redis_instance()
|
ri = redis_instance()
|
||||||
|
Loading…
Reference in New Issue
Block a user