[chgpass] gest_crans_lc utilisait une fonction de chgpass
This commit is contained in:
parent
9e25812e62
commit
f9646ab6ca
2 changed files with 42 additions and 17 deletions
|
@ -30,7 +30,7 @@ from OpenSSL import crypto, SSL
|
|||
|
||||
from gestion.cert_utils import createCertRequest
|
||||
from gestion.affich_tools import get_screen_size, coul
|
||||
from gestion.chgpass import checkpass
|
||||
from gestion.chgpass import check_password
|
||||
import gestion.config as config
|
||||
import gestion.config.factures
|
||||
|
||||
|
@ -2344,7 +2344,7 @@ les valeurs valident sont :
|
|||
def proprio_compte_password(self, proprio, cont, return_obj=False):
|
||||
"""Permet de changer le mot de passe d'un compte crans"""
|
||||
def test_password(password, self_cont):
|
||||
(good, msg) = checkpass(password, dialog=True)
|
||||
(good, msg) = check_password(password, dialog=True)
|
||||
if not good:
|
||||
self.dialog.msgbox(
|
||||
msg,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue