def generate_password_reset_token(self, expiration=3600):
        s = Serializer(current_app.config['SECRET_KEY'], expiration)
        return s.dumps({'reset': self.id})
Generate a password reset change token to email to an existing user.
dataset/ETHPy150Open hack4impact/flask-base/app/models/user.py/User.generate_password_reset_token