Exemple #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)
Exemple #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
Exemple #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)
Exemple #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