mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Add delay to redirect to homepage so it wont interfere with cookie clearing
This commit is contained in:
parent
9f1b2dde04
commit
607e285f4f
@ -13,7 +13,7 @@
|
||||
<div class="col s10">
|
||||
<span class="black-text">
|
||||
<p class="flow-text">Welcome <strong>{{ session['username'] }}#{{ session['discriminator'] }}</strong> to <strong>Titan Embeds</strong>!</p>
|
||||
<p>Not the right account? Sign out of the Discord online client <a href="#" onclick="window.open('{{ url_for("user.logout", redirect="https://discordapp.com/channels/@me") }}'); window.location.href = '{{ url_for("index") }}'; return false;">here</a> and log back into Titan Embeds.</p>
|
||||
<p>Not the right account? Sign out of the Discord online client <a href="#" onclick="window.open('{{ url_for("user.logout", redirect="https://discordapp.com/channels/@me") }}'); setTimeout(function () {window.location.href = '{{ url_for("index") }}';}, 3000); return false;">here</a> and log back into Titan Embeds.</p>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user