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