chore: Use 'Lax' instead of 'None' (#1129)
fixes: #919 Signed-off-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
parent
0adbc346df
commit
ec3c2ed4bb
2 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ import moment from 'moment';
|
|||
import Cookies from 'js-cookie';
|
||||
import { frontendURL } from '../../helper/URLHelper';
|
||||
|
||||
Cookies.defaults = { sameSite: 'Lax' };
|
||||
|
||||
export const getLoadingStatus = state => state.fetchAPIloadingStatus;
|
||||
export const setLoadingStatus = (state, status) => {
|
||||
state.fetchAPIloadingStatus = status;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
Rails.application.config.session_store :cookie_store, key: '_chatwoot_session'
|
||||
Rails.application.config.session_store :cookie_store, key: '_chatwoot_session', same_site: :lax
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue