Automatically hash password before update in mongoengine

前端 未结 0 1486
清酒与你
清酒与你 2021-01-23 16:15

I have mongoengine collection with following schema:

class User(Document):
    username = StringField(max_length=200, unique=True, required=True)
    password = B         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题