Skip to content

Commit

Permalink
Merge pull request #17 from ruslanbelziuk/embed_support
Browse files Browse the repository at this point in the history
  • Loading branch information
maicol07 committed Oct 26, 2022
2 parents 863e108 + 8ea8f8f commit da54638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ app.initializers.add('maicol07-sso', () => {
if (!setting('provider_mode')) {
override(LogInModal.prototype, 'oncreate', () => {
const items = getItems();
window.location.href = items.login.url;
window.top.location.href = items.login.url;
throw new Error('Stop execution');
});

Expand Down

0 comments on commit da54638

Please sign in to comment.