Skip to content

Commit 21b71f1

Browse files
committed
Restore app-access-denied.html
1 parent 626e708 commit 21b71f1

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

src/main/resources/templates/app-access-denied.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,24 @@
2121
2222
-->
2323
<!DOCTYPE html>
24-
<html>
24+
<html
25+
xmlns:th="http://www.thymeleaf.org"
26+
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
27+
2528
<head lang="en">
26-
<title>ShinyProxy</title>
29+
<title th:text="${title}"></title>
2730
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
31+
<link rel="stylesheet" media="screen" th:href="@{${bootstrapCss}}" />
32+
<link rel="stylesheet" media="screen" th:href="@{/css/login.css}"/>
33+
<script th:src="@{${jqueryJs}}"></script>
34+
<script th:src="@{${bootstrapJs}}"></script>
2835
</head>
36+
2937
<body>
3038
<div class="container">
3139
<h2>You do not have access to this application.</h2>
40+
<p>Your account does not have the required roles or groups required for accessing this application.</p>
41+
<p>Please contact your administrator if you believe this is a mistake.</p>
3242
</div>
3343

3444
<style>

0 commit comments

Comments
 (0)