🐛 Update link to SSO account portal

Allows easy access back to app from account portal
This commit is contained in:
2020-08-04 17:07:00 +01:00
committed by GitHub
parent 1ec289a9fb
commit 2261a18b4d

View File

@@ -46,7 +46,7 @@
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item text-muted" href="#"><?php echo($_SESSION['username']); ?></a>
<a class="dropdown-item" href="<?php echo($_ENV['OIDC_HOST'] . "/account"); ?>">Profile</a>
<a class="dropdown-item" href="<?php echo($_ENV['OIDC_HOST'] . "/account?referrer=fhed_test&referrer_uri=https%3A%2F%2Ffhed.tainton.uk"); ?>">Profile</a>
<!-- <div class="dropdown-divider"></div> -->
<a class="dropdown-item" href="/logout">Log out</a>
</div>