mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 08:10:45 +00:00
feat: set theme cookies to be sameSite strict
Since they are only used in a first party basis
This commit is contained in:
parent
265333633c
commit
63da182147
|
@ -11,7 +11,7 @@
|
|||
|
||||
setCookieChangeTheme = function ( themeName ) {
|
||||
try {
|
||||
window.mw.cookie.set( 'skin-citizen-theme', themeName );
|
||||
window.mw.cookie.set( 'skin-citizen-theme', themeName, { sameSite: 'Strict' } );
|
||||
} catch ( e ) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue