Skip to content

Commit

Permalink
chore: fix social login not setting cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienne-deriv committed Jan 24, 2025
1 parent 833d381 commit dd8a760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/Stores/client-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -2250,7 +2250,7 @@ export default class ClientStore extends BaseStore {
// NOTE: We only set logged_state to true when the params has acct1, token1 params
const loggedState = Cookies.get('logged_state');

if (loggedState === 'false' && is_acct_token_params && !search_params.get('action') === 'signup') {
if (loggedState === 'false' && is_acct_token_params) {
const currentDomain = window.location.hostname.split('.').slice(-2).join('.');
Cookies.set('logged_state', 'true', {
expires: 30,
Expand Down

0 comments on commit dd8a760

Please sign in to comment.