Skip to content

Commit 97c9ec9

Browse files
Re-add redirect after login (#274)
1 parent e081d07 commit 97c9ec9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

internal/pkg/auth/templates/login-successful.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,5 +336,13 @@ <h2>Hello {{.Email}},</h2>
336336
</a>
337337
</div>
338338
</div>
339+
<script>
340+
if (window.location.hash) {
341+
history.replaceState(null, "", window.location.pathname);
342+
}
343+
setTimeout(function () {
344+
window.location = 'https://www.stackit.de'
345+
}, 60000);
346+
</script>
339347
</body>
340348
</html>

0 commit comments

Comments
 (0)