Skip to content

Commit

Permalink
Added option object to respect session across tabs (#1792)
Browse files Browse the repository at this point in the history
Co-authored-by: Vito Galatro <[email protected]>
  • Loading branch information
blakeganderson and vgalatro authored Nov 20, 2023
1 parent 06aab99 commit 4fbf36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/identity-block/features/login/default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Login = ({ customFields }) => {
formErrorText={error}
headline={phrases.t("identity-block.log-in")}
onSubmit={({ email, password }) =>
Identity.login(email, password)
Identity.login(email, password, {rememberMe: true})
.then(() => {
window.location = loginRedirect;
})
Expand Down

0 comments on commit 4fbf36a

Please sign in to comment.