• 
      

    Make the logout action use POST.

    Review Request #14840 — Created Feb. 19, 2026 and submitted

    Information

    Review Board
    master

    Reviewers

    As of Django 5.0, the LogoutView only works with POST operations, not
    GET. This change adds a special view for the logout action which
    creates and submits a form (just containing the CSRF token) in order to
    perform the logout.

    • Ran unit tests.
    • Logged out from the UI.
    Summary ID
    Make the logout action use POST.
    As of Django 5.0, the LogoutView only works with `POST` operations, not `GET`. This change adds a special view for the logout action which creates and submits a form (just containing the CSRF token) in order to perform the logout. Testing Done: - Ran unit tests. - Logged out from the UI.
    otwzkrzoskuplswkyqtvwqkptnyqolok
    maubin
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (534116d)