fix: Update Discord OAuth link in Login.svelte for correct redirect URI
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-11-14 23:18:55 +01:00
parent 3daac95059
commit a9e1cb6025

View File

@@ -88,10 +88,7 @@
<p class="mt-2 text-red-500">{error}</p>
{/if}
<button class="btn mt-4 !mx-0 justify-center" type="submit" onclick={preventDefault(login)}>{t("login.submit")}</button>
<a
class="btn mt-4 !mx-0 justify-center"
href="https://discord.com/oauth2/authorize?client_id=869611389818400779&response_type=token&redirect_uri=http%3A%2F%2Flocalhost%3A4321%2Flogin&scope=identify"
>
<a class="btn mt-4 !mx-0 justify-center" href="https://discord.com/oauth2/authorize?client_id=869606970099904562&response_type=token&redirect_uri=https%3A%2F%2Fsteamwar.de%2Flogin&scope=identify">
{t("login.discord")}
</a>
</form>