src/eric7/Preferences/ConfigurationPages/MasterPasswordEntryDialog.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9412:45e7bb09c120 9413:80c06d472826
43 Private slot to update the variable parts of the UI. 43 Private slot to update the variable parts of the UI.
44 """ 44 """
45 enable = True 45 enable = True
46 error = "" 46 error = ""
47 if self.currentPasswordEdit.isEnabled(): 47 if self.currentPasswordEdit.isEnabled():
48 from Utilities.crypto.py3PBKDF2 import verifyPassword 48 from eric7.Utilities.crypto.py3PBKDF2 import verifyPassword
49 49
50 enable = verifyPassword( 50 enable = verifyPassword(
51 self.currentPasswordEdit.text(), self.__oldPasswordHash 51 self.currentPasswordEdit.text(), self.__oldPasswordHash
52 ) 52 )
53 if not enable: 53 if not enable:

eric ide

mercurial