

def password_reset_verify(request, uidb36=None, token=None):
    user = authenticate(uidb36=uidb36, token=token, is_active=True)
    if (user is not None):
        auth_login(request, user)
        return redirect('profile_update')
    else:
        error(request, _('The link you clicked is no longer valid.'))
        return redirect('/')

dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/accounts/views.py password_reset_verify/original