From 8391ea0b0402ac97b21c8865b786f8e33af0b31a Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 16 Jul 2020 13:54:51 +0200 Subject: [PATCH] [core] Change pw length logger to debug --- kibicara/webapi/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibicara/webapi/admin.py b/kibicara/webapi/admin.py index 02cb80a..7aa62a3 100644 --- a/kibicara/webapi/admin.py +++ b/kibicara/webapi/admin.py @@ -82,7 +82,7 @@ async def admin_register(values: BodyAdmin): logger.debug(f'register_token={register_token}') # TODO implement check to see if email already is in database if len(values.password) < 8: - logger.info('Password is too short') + logger.debug('Password is too short') raise HTTPException( status_code=status.HTTP_400_BAD_REQUEST, detail='Password is too short' )