Renaming of users in registration, profile and admin app.
This commit is contained in:
@@ -7,4 +7,5 @@ def assert_safe(value: str, *, field: str = "value") -> None:
|
||||
if not isinstance(value, str) or not value or not _SAFE_RE.match(value):
|
||||
raise ValueError(f"{field} must match ^[A-Za-z0-9:._~-]+$")
|
||||
|
||||
|
||||
__all__ = ["assert_safe"]
|
||||
|
||||
Reference in New Issue
Block a user