Apply ACLs to internal oidc clients
This commit is contained in:
@@ -26,15 +26,23 @@
|
||||
<div class="col-md-12" style="text-align: center;">
|
||||
<img width="128" height="128" style="margin-top: -84px" src="/api/v1/cloudron/avatar"/>
|
||||
<br/>
|
||||
<h1>Authorize <%= name %></h1>
|
||||
<% if (hasAccess) { -%>
|
||||
<h3>Authorize for <b><%= name %></b></h3>
|
||||
<% } else { -%>
|
||||
<h3>You do not have access to <b><%= name %></b></h3>
|
||||
<% } -%>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
<% if (hasAccess) { -%>
|
||||
<form method="post" action="<%= submitUrl %>">
|
||||
<button class="btn btn-primary btn-outline" type="submit">Authorize</button>
|
||||
</form>
|
||||
<% } else { -%>
|
||||
<a class="btn btn-primary btn-outline" href="<%= submitUrl %>">Continue</a>
|
||||
<% } -%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user