Skip to content

Commit d29504b

Browse files
author
Khabarov Konstantin Olegovich
committed
fix logger print
1 parent 862ccfa commit d29504b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mobsf/MobSF/views/saml2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def get_user_role(roles):
138138
elif vrole or settings.IDP_MOBSF_DEFAULT_GROUP == 'Viewer':
139139
logger.info(f"User assigned to {VIEWER_GROUP} group.")
140140
return VIEWER_GROUP
141-
logger.warning("User does not have an authorized role.")
141+
logger.warning(f"User does not have an authorized role.")
142142
return None
143143

144144

0 commit comments

Comments
 (0)