Esempio 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)
Esempio 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
Esempio 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)
Esempio 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