Sunil Mohan Adapa cf6c604cec
sso: Use POST method for logout
- This prevents CSRF attacks that allow adversarial websites from logging out
users from FreedomBox. Django itself has made this change in 4.x releases.

Tests:

- Logout works with the menu item in drop-down when Javascript is enabled. The
menu item appears similar to other drop-down menu items.

- Logout works with the menu item when JavaScript is disabled on the page. The
menu item appears similar to other menu items.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-08-23 21:47:36 -04:00
..
2021-09-20 16:50:37 -04:00
2023-08-23 21:47:36 -04:00
2023-08-23 21:47:36 -04:00
2023-08-23 21:47:36 -04:00
2023-08-14 21:11:52 -04:00
2022-08-29 08:28:44 -04:00
2021-09-20 16:50:37 -04:00
2023-05-07 13:11:27 -04:00
2020-02-19 14:38:55 +02:00