Hy everyone, When a person is already logged in he/she can still be able to access login form in my login Django functionality by typing the login URL. I am using Django's default LoginView as my login view. This is the URL of my login page.
re_path(r'login/$', auth_views.LoginView.as_view(template_name= 'accounts/login.html'), name='login') -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3029e41c-fd96-4e48-b945-a9a66243bf0b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.