diff --git a/bin/create-user b/bin/create-user
index 1f77ebf4167a8a2a57ee5b59d1716ca72a9708fa..1c61400a09a789c3000afe2970af8474f900fe3a 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)