title: Django PasswordChangeDoneView logout after password change
body: <p>I'm using Django's provided <code>PasswordChangeView</code> and <code>PasswordChangeDoneView</code> from <code>django.contrib.auth</code>. After successful password reset, I want the session to be invalidated and log the user out. The Django <a href="https://docs.djangoproject.com/en/2.1/topics/auth/default/#session-invalidation-on-password-change" rel="nofollow noreferrer">docs</a> mention that <code>update_session_auth_hash()</code> make it so the user does not get logged out after changing passwords. How do I override this and make it so the user DOES get logged out after changing their password?</p>