Example #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
Example #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
Example #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()
Example #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()