From 0b8402c18742d36a79b61c2d7014035bb20735e5 Mon Sep 17 00:00:00 2001 From: missytake Date: Thu, 27 Jun 2024 12:28:27 +0200 Subject: [PATCH] doveauth: ensure username length --- chatmaild/src/chatmaild/doveauth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/chatmaild/src/chatmaild/doveauth.py b/chatmaild/src/chatmaild/doveauth.py index 74e1f784..52246beb 100644 --- a/chatmaild/src/chatmaild/doveauth.py +++ b/chatmaild/src/chatmaild/doveauth.py @@ -60,6 +60,7 @@ def is_allowed_to_create(config: Config, user, cleartext_password) -> bool: config.username_min_length, config.username_max_length, ) + return False return True