[chgpass] gest_crans_lc utilisait une fonction de chgpass

This commit is contained in:
Pierre-Elliott Bécue 2014-04-14 09:22:40 +02:00
parent 9e25812e62
commit f9646ab6ca
2 changed files with 42 additions and 17 deletions

View file

@ -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,