Exemplo n.º 1
0
def password_reset_confirm(request, uidb36, token):
    return auth_password_reset_confirm(
        request,
        uidb36,
        token,
        post_reset_redirect=reverse('accounts:password_reset_complete'),
        template_name='accounts/password_reset_confirm.html')
Exemplo n.º 2
0
def password_reset_confirm(request, campaign_slug, uidb36, token):
    """Wrapper around django's password_confirm"""
    redirect = reverse('password_reset_complete', kwargs={'campaign_slug': campaign_slug})
    return auth_password_reset_confirm(
            request,
            uidb36,
            token,
            post_reset_redirect=redirect)
Exemplo n.º 3
0
def password_reset_confirm(
        request,
        uidb36=None,
        token=None,
        template_name='registration/password_reset_confirm.html'):
    return auth_password_reset_confirm(
        request,
        uidb36,
        token,
        template_name=template_name,
        post_reset_redirect=reverse('website.views.index'))
Exemplo n.º 4
0
def password_reset_confirm(request, uidb36=None, token=None, template_name='registration/password_reset_confirm.html'):
    return auth_password_reset_confirm(request, uidb36, token, template_name=template_name,
                                       post_reset_redirect=reverse('website.views.index'))
Exemplo n.º 5
0
def password_reset_confirm(request, uidb36, token):
    return auth_password_reset_confirm(request, uidb36, token,
        post_reset_redirect=reverse('accounts:password_reset_complete'),
        template_name='accounts/password_reset_confirm.html'
    )