Example #1
0
def encrypt_password(mapper, connect, self):
    self.password = bcrypt.generate_password_hash(self.password.encode('utf-8'))