diff --git a/server/src/app/auth/__pycache__/security.cpython-311.pyc b/server/src/app/auth/__pycache__/security.cpython-311.pyc index 5d4a815..a99a626 100644 Binary files a/server/src/app/auth/__pycache__/security.cpython-311.pyc and b/server/src/app/auth/__pycache__/security.cpython-311.pyc differ diff --git a/server/src/app/auth/security.py b/server/src/app/auth/security.py index a5cfa6b..2379c54 100644 --- a/server/src/app/auth/security.py +++ b/server/src/app/auth/security.py @@ -39,7 +39,7 @@ def verify_token(token: str, token_type: str = "access") -> Optional[dict]: def verify_beyond_user_limit() -> bool: users: Sequence[User] = get_users() - if (len(users) > settings.USER_LIMIT): + if (len(users) >= settings.USER_LIMIT): return True else: return False