From 41d80afcca6a02c22aa3fd6705b83e84754a1f9f Mon Sep 17 00:00:00 2001 From: Riccardo Porreca Date: Mon, 2 May 2022 15:10:50 +0200 Subject: [PATCH] Fix PAM authentication log message Missing f-string and spacing --- quetz/authentication/pam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quetz/authentication/pam.py b/quetz/authentication/pam.py index 6e115d8d..279f84ca 100644 --- a/quetz/authentication/pam.py +++ b/quetz/authentication/pam.py @@ -128,8 +128,8 @@ async def user_role(self, request: Request, profile: UserProfile): common = set(role_gids) & set(user_gids) if common: logger.info( - "pam authenticator: user {username} found in group {common}" - "setting {role} permissions" + f"pam authenticator: user {username} found in group {common}, " + f"setting {role} permissions" ) return role.value