Esempio n. 1
0
 def get_password(self):
     """
         Returns password.
     """
     from lider.helpers.directory import Directory
     password = str(self.editPassword.text())
     salted = Directory.make_password(password)
     return salted
Esempio n. 2
0
 def get_password(self):
     """
         Returns password.
     """
     from lider.helpers.directory import Directory
     password = str(self.editPassword.text())
     salted = Directory.make_password(password)
     return salted
Esempio n. 3
0
 def get_password(self):
     """
         Returns password.
     """
     if not self.editName.isEnabled() and not len(self.editPassword.text()):
         return ""
     from lider.helpers.directory import Directory
     password = str(self.editPassword.text())
     salted = Directory.make_password(password)
     return salted.strip()
Esempio n. 4
0
 def get_password(self):
     """
         Returns password.
     """
     if not self.editName.isEnabled() and not len(self.editPassword.text()):
         return ""
     from lider.helpers.directory import Directory
     password = str(self.editPassword.text())
     salted = Directory.make_password(password)
     return salted.strip()