Пример #1
0
 def set_password(self, password):
     """Set password."""
     self.password = bcrypt.generate_password_hash(password)
Пример #2
0
 def set_password(self, password):
     self.password = bcrypt.generate_password_hash(password)
Пример #3
0
 def set_password(self, password):
     self.password = bcrypt.generate_password_hash(password)
Пример #4
0
 def set_password(self, password):
     """Set password."""
     self.password = bcrypt.generate_password_hash(password)