🔒 Profile page now links directly to SSO

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
2020-08-04 16:55:20 +01:00
parent 37653039c6
commit fdf39a051c

View File

@@ -45,7 +45,8 @@
<?php echo($_SESSION['full_name']); ?>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/profile">Profile</a>
<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>
<!-- <div class="dropdown-divider"></div> -->
<a class="dropdown-item" href="/logout">Log out</a>
</div>