Exemple #1
0
 def set_password(self, password):
     """Salt and hashes the password."""
     self.password = md5crypt(password, gen_salt())
Exemple #2
0
	def set_password(self, password):
		self.password = md5crypt(password, gen_salt())
Exemple #3
0
 def set_password(self, password):
     """Salt and hashes the password."""
     self.password = md5crypt(password, gen_salt())