Add setting to hide the intermediary logout page
Description
I would like to avoid showing the unnecessary, intermediary confirmation signout page.
The need for an intermediary page is documented in the django-allauth docs: https://django-allauth.readthedocs.io/en/latest/views.html#logout-account-logout
This change will still use the intermediary logout page, but instead auto-submit the form via JavaScript. This has the added benefit of still degrading to using the form in the case that JavaScript is disabled.
The concept comes from an old Django issue: https://code.djangoproject.com/ticket/15619#comment:38
Rationale
This is something that I believe would benefit the larger community. It's an optional feature with the default value ensuring that it does not change the expected behavior.
Use case(s) / visualization(s)
This hides an unnecessary, intermediary page and increases user UX by preventing clicks where not necessary.
I have been searching for a solution for this... I am merging this to my project now.