[verified] fix(auth): support Unicode credentials
This commit is contained in:
@@ -104,6 +104,8 @@ async def login(request: Request) -> Response:
|
||||
keep_blank_values=True,
|
||||
strict_parsing=True,
|
||||
max_num_fields=3,
|
||||
encoding="utf-8",
|
||||
errors="strict",
|
||||
)
|
||||
except (UnicodeDecodeError, ValueError):
|
||||
authentication.log_auth_event("login_request_rejected", correlation_id)
|
||||
|
||||
Reference in New Issue
Block a user