Skip to content

Commit

Permalink
more nonce bits
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Apr 17, 2023
1 parent 73d77a8 commit b16707d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/webui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(
self.save_path: str = None
self.timeout: Any = None

self.nonce: str = standard_b64encode(getrandbits(64).to_bytes(8, "big")).decode(
self.nonce: str = standard_b64encode(getrandbits(128).to_bytes(16, "big")).decode(
"ascii"
)
self.start = time.time()
Expand Down

0 comments on commit b16707d

Please sign in to comment.