Пример #1
0
 def hash_password(self, password):
     self.password = bcrypt.generate_password_hash(password)
Пример #2
0
 def hash_password(self, password):
     self.password = bcrypt.generate_password_hash(password)
Пример #3
0
 def __init__(self, username, password):
     self.username = username
     self.password = bcrypt.generate_password_hash(password)
Пример #4
0
 def __init__(self, username, password):
     self.username = username
     self.password = bcrypt.generate_password_hash(password)