def set_password(self, password): self.password = bcrypt.generate_password_hash(password)
def set_password(self, password): """Convert the password to cryptograph via flask-bcrypt""" return bcrypt.generate_password_hash(password)
def set_password(self, password): self.password = bcrypt.generate_password_hash(password)
def set_password(self, password): """Set password.""" self.password = bcrypt.generate_password_hash(password)
def set_password(self, password): """Convert the password to cryptograph via flask-bcrypt""" return bcrypt.generate_password_hash(password)
def set_password(self, password): """Set password.""" self.password = bcrypt.generate_password_hash(password)