Do not show login box when logged in
This commit is contained in:
parent
327c4b755f
commit
39f7dd6285
@ -118,6 +118,7 @@
|
|||||||
<h1><span><%= hostname %></span> status - MALP</h1>
|
<h1><span><%= hostname %></span> status - MALP</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<% unless authenticated %>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-title">Sign In</div>
|
<div class="card-title">Sign In</div>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
@ -132,6 +133,7 @@
|
|||||||
<button type="submit">Log In</button>
|
<button type="submit">Log In</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user