Skip to content

Commit

Permalink
Merge pull request #329 from DataManagementLab/login-fix
Browse files Browse the repository at this point in the history
exclude port from login link
  • Loading branch information
netcodedev authored Sep 12, 2023
2 parents a97faf7 + a0206e4 commit 6e2f1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<p class="py-6">Finde hier das Thema für deine Thesis!</p>
{#if data.user == undefined}
<a
href="{data.CAS_HOST}/cas/login?service={data.PUBLIC_HOST}:{data.PUBLIC_PORT}"
href="{data.CAS_HOST}/cas/login?service={data.PUBLIC_HOST}{data.PUBLIC_PORT == 443 ? '' : ':'+data.PUBLIC_PORT}"
class="btn btn-primary">
Jetzt anmelden
</a>
Expand Down

0 comments on commit 6e2f1b3

Please sign in to comment.