logger: change from warn to warning

This commit is contained in:
2023-08-08 10:17:56 -04:00
parent 2e277e7791
commit 88a1462304
42 changed files with 168 additions and 167 deletions

View File

@ -231,7 +231,7 @@ class FE_Gate(FE_Base):
user = self.data.user.get_user(card['user'])
if user is None:
self.logger.warn(f"Card {ac} exists with no/invalid associated user ID {card['user']}")
self.logger.warning(f"Card {ac} exists with no/invalid associated user ID {card['user']}")
return redirectTo(b"/gate?e=0", request)
if user['password'] is not None: