@route('<key>', method=('get', 'post'))
    def reset(self, request):
        key = request.urlargs['key']
        backend = request.cache.auth_backend

        if not backend.confirm_auth_key(request, key):
            raise Http404

        if request.method == 'GET':
            form = get_form_layout('reset-password')
            if not form:
                raise Http404
            html = form(request).as_form(action=request.full_path(),
                                         enctype='multipart/form-data',
                                         method='post')
            return self.html_response(request, html)

        else:
            return actions.reset_password(request, key)
Read 'size' bytes from remote.
dataset/ETHPy150Open quantmind/lux/lux/extensions/rest/views/browser.py/ForgotPassword.reset--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/imaplib.py/IMAP4_stream.read