mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
[FIX]fix change_passphrase
This commit is contained in:
parent
1d9a07503e
commit
973147e218
@ -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",
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user