示例#1
0
 def set_password(self, password):
     """Salt and hashes the password."""
     self.password = md5crypt(password, gen_salt())
示例#2
0
文件: models.py 项目: wiedi/limeade
	def set_password(self, password):
		self.password = md5crypt(password, gen_salt())
示例#3
0
 def set_password(self, password):
     """Salt and hashes the password."""
     self.password = md5crypt(password, gen_salt())