7 lines
118 B
Python
7 lines
118 B
Python
from __future__ import annotations
|
|
|
|
import secrets
|
|
|
|
def new_csrf_token() -> str:
|
|
return secrets.token_urlsafe(32)
|