示例#1
0
文件: user.py 项目: Tayyib/uludag
 def get_password(self):
     """
         Returns password.
     """
     from lider.helpers.directory import Directory
     password = str(self.editPassword.text())
     salted = Directory.make_password(password)
     return salted
示例#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
示例#3
0
文件: user.py 项目: pars-linux/uludag
 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()
示例#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()