fix 3SKey init check

This commit is contained in:
Luc De Meyer
2026-03-01 23:26:35 +01:00
parent 71bf035623
commit 8a8b63ecc3
+1 -1
View File
@@ -210,7 +210,7 @@ class EbicsUserID(models.Model):
raise UserError(
_("Set a passphrase."))
if not self.swift_3skey and not self.swift_3skey_certificate:
if self.swift_3skey and not self.swift_3skey_certificate:
raise UserError(
_("3SKey certificate missing."))