

def signup_verify(request, uidb36=None, token=None):
    '\n    View for the link in the verification email sent to a new user\n    when they create an account and ``ACCOUNTS_VERIFICATION_REQUIRED``\n    is set to ``True``. Activates the user and logs them in,\n    redirecting to the URL they tried to access when signing up.\n    '
    user = authenticate(uidb36=uidb36, token=token, is_active=False)
    if (user is not None):
        user.is_active = True
        user.save()
        auth_login(request, user)
        info(request, _('Successfully signed up'))
        return login_redirect(user)
    else:
        error(request, _('The link you clicked is no longer valid.'))
        return redirect('/')

dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/accounts/views.py signup_verify/VarMisuse@79/205 `request`->`user`