Skip to content

Commit 8ea8f8f

Browse files
committed
feat: ✨ Fix login redirects in embeded mode
1 parent 863e108 commit 8ea8f8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/src/forum/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ app.initializers.add('maicol07-sso', () => {
4040
if (!setting('provider_mode')) {
4141
override(LogInModal.prototype, 'oncreate', () => {
4242
const items = getItems();
43-
window.location.href = items.login.url;
43+
window.top.location.href = items.login.url;
4444
throw new Error('Stop execution');
4545
});
4646

0 commit comments

Comments
 (0)