UTCWeb / utctiny

URL Shortener with YOURLS
MIT License
0 stars 5 forks source link

Better 403 for Auth Mgr #57

Closed UTCGilligan closed 7 months ago

UTCGilligan commented 7 months ago
<div class="container-fluid h-100">
<div class="row justify-content-center align-items-center h-100">
<div class="col-12 col-lg-10 col-xl-8 col-xxl-5 mt-5">
<div class="card border-0 mt-5">
<div class="text-center">
<img src="https://go.utc.edu/frontend/assets/svg/utc-wordmark-reverse.svg" alt="UTC Logo" width="300px" style="margin-top:-4rem;">
</div>
<div class="card-body px-md-5">
<h5 class="card-title">Access Denied</h5>
<h6 class="card-subtitle mb-2 text-muted">go.UTC.edu is the UTC URL Shortener</h6>
<p class="card-text">Your account does not have access to this app, other than to follow links.</p>
<a href="https://go.utc.edu/home" class="card-link">go to www.UTC.edu</a>
</div>
</div>
<div class="d-flex flex-column flex-md-row align-items-center my-3">
<span class="text-white fw-light">© <?php echo date("Y"); ?> go.UTC.edu</span>
<div class="ms-3">
<a class="bold-link me-3 text-white text-decoration-none" href="https://github.com/UTCWeb/utctiny#utctiny"><span>About</span></a>
<a class="bold-link me-3 text-white text-decoration-none" href="https://www.utc.edu/about/privacy"><span>Privacy</span></a>
</div>
</div>
</div>
</div>
</div>
UTCGilligan commented 7 months ago

Better explanation and display for the 403 if user does not have any role.