Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Commit c28ce75

Browse files
chickahoonaknalli
authored andcommitted
feat(cookie storage): change samesite cookie policy from None to lax
1 parent 026674d commit c28ce75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/service/storage-cookie.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function $translateCookieStorageFactory($injector) {
2525
return $cookies.get(key);
2626
},
2727
put : function (key, value) {
28-
$cookies.put(key, value);
28+
$cookies.put(key, value, { samesite: 'lax' });
2929
}
3030
};
3131
} else {

0 commit comments

Comments
 (0)