Skip to content

Commit

Permalink
Use repr for user name so we can see funny chars
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Nov 7, 2023
1 parent 5cb87be commit dc73649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fontra_rcjk/projectmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def loginHandler(self, request):
username = formContent["username"][0]
password = formContent["password"][0]
remote = request.headers.get("X-FORWARDED-FOR", request.remote)
logger.info(f"login for {username} from {remote}")
logger.info(f"login for {username!r} from {remote}")
token = await self.login(username, password)

destination = request.query.get("ref", "/")
Expand Down

0 comments on commit dc73649

Please sign in to comment.