Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyundai committed Sep 13, 2024
1 parent 75cd186 commit 4ca2dc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,8 @@ export function decorateLinks(el) {
a.href = a.href.replace(loginEvent, '');
a.addEventListener('click', (e) => {
e.preventDefault();
window.adobeIMS?.signIn(getConfig().susiOptions);
const { signInContext } = config;
window.adobeIMS?.signIn(signInContext);
});
}
const copyEvent = '#_evt-copy';
Expand Down

0 comments on commit 4ca2dc8

Please sign in to comment.