mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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>
This commit is contained in:
1 parent
dc9e86d918
commit
cf6c604cec
4 files changed
+28
-12
No files matched your search
@@ -457,6 +457,11 @@ footer {
|
||||
height: 3.25rem;
|
||||
}
|
||||
|
||||
.main-header .nav-link,
|
||||
.main-header .nav-link:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.main-header .navbar-toggler {
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user