fix 3SKey init check

This commit is contained in:
Luc De Meyer 2020-09-11 11:08:08 +02:00
parent b5ba6fc6bd
commit a673a4bb3d

View File

@ -210,7 +210,7 @@ class EbicsUserID(models.Model):
raise UserError( raise UserError(
_("Set a passphrase.")) _("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( raise UserError(
_("3SKey certificate missing.")) _("3SKey certificate missing."))