Ejemplo n.º 1
0
 def set_password(self, raw_password):
     """Set the password for this user to the hash of ``raw_password``."""
     self.password = generate_password_hash(raw_password)
Ejemplo n.º 2
0
 def set_password(self, raw_password):
     '''Set the password for this user to the hash of ``raw_password``.'''
     self.password = generate_password_hash(raw_password)
     return None
Ejemplo n.º 3
0
 def set_password(self, raw_password):
     """Set the password for this user to the hash of ``raw_password``."""
     self.password = generate_password_hash(raw_password)
Ejemplo n.º 4
0
 def set_password(self, raw_password):
     '''Set the password for this user to the hash of ``raw_password``.'''
     self.password = generate_password_hash(raw_password)
     return None