[FIX]fix change_passphrase

This commit is contained in:
Luc De Meyer 2024-03-29 09:17:06 +01:00
parent 1d9a07503e
commit 973147e218
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
{ {
"name": "EBICS banking protocol", "name": "EBICS banking protocol",
"version": "17.0.1.0.1", "version": "17.0.1.0.2",
"license": "LGPL-3", "license": "LGPL-3",
"author": "Noviat", "author": "Noviat",
"website": "https://www.noviat.com", "website": "https://www.noviat.com",

View File

@ -1,4 +1,4 @@
# Copyright 2009-2023 Noviat. # Copyright 2009-2024 Noviat.
# License LGPL-3 or later (http://www.gnu.org/licenses/lgpl). # License LGPL-3 or later (http://www.gnu.org/licenses/lgpl).
import logging import logging
@ -76,7 +76,7 @@ class EbicsChangePassphrase(models.TransientModel):
"passphrase": passphrase, "passphrase": passphrase,
} }
if self.new_sig_pass: if self.new_sig_pass:
keyring_params["sig_passphrase"] = self.old_sig_pass keyring_params["sig_passphrase"] = self.old_sig_pass or None
keyring = EbicsKeyRing(**keyring_params) keyring = EbicsKeyRing(**keyring_params)
change_params = {} change_params = {}
if self.new_pass: if self.new_pass: