From ac8c5cc4e4f0deada40e876515ed254b128dba06 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Wed, 1 Jan 2025 01:51:17 +0100
Subject: [PATCH] =?UTF-8?q?create-user:=20Oprava=20pos=C3=ADl=C3=A1n=C3=AD?=
 =?UTF-8?q?=20mail=C5=AF=20o=20nov=C3=BDch=20=C3=BA=C4=8Dtech?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Náhodou jsem objevil při testování language serverů pro Python :)
---
 bin/create-user | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/create-user b/bin/create-user
index 1f77ebf4..1c61400a 100755
--- a/bin/create-user
+++ b/bin/create-user
@@ -50,5 +50,5 @@ if args.passwd is not None:
 
 session.commit()
 
-if args.passwd is None:
+if args.passwd is not None:
     mo.email.send_new_account_email(user, token)
-- 
GitLab