is it possible, to deny access to django.contrib.auth.views.password\_reset for users who are authenticated?
I want to use it, and make it only for not logged in.

I can't figure out how to do that. I have done all things with reset, but all users can enter it:/

UPDATE:
I made it that way:

views.py

```
def password_remind(request):
    from django.contrib.auth.views import password_reset
    if request.user.is_authenticated():
        return HttpResponseRedirect(reverse('index'))

    return password_reset(request, template_name='remind_password.html', post_reset_redirect=reverse('password_remind_sent'))

def password_remind_sent(request):
    from django.contrib.auth.views import password_reset_done
    if request.user.is_authenticated():
        return HttpResponseRedirect(reverse('index'))

    return password_reset_done(request, template_name='remind_password.html')

def password_remind_set_new(request, uidb36, token):
    from django.contrib.auth.views import password_reset_confirm
    if request.user.is_authenticated():
        return HttpResponseRedirect(reverse('index'))

    return password_reset_confirm(request, template_name='set_new_password.html', post_reset_redirect=reverse('password_remind_changed'), token=token, uidb36=uidb36)

def password_remind_changed(request):
    from django.contrib.auth.views import password_reset_complete
    if request.user.is_authenticated():
        return HttpResponseRedirect(reverse('index'))

    return password_reset_complete(request, template_name='set_new_password.html')

```

urls.py:

```
url(r'^remind_password/$', 'password_remind', name='password_remind'),
    url(r'^remind_password/sent/$', 'password_remind_sent', name='password_remind_sent'),
    url(r'^remind_password/set_new/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$', 'password_remind_set_new', name='password_remind_set_new'),
    url(r'^remind_password/changed/$', 'password_remind_changed', name='password_remind_changed'),

```