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>
|
||||
</header>
|
||||
|
||||
<% unless authenticated %>
|
||||
<div class="card">
|
||||
<div class="card-title">Sign In</div>
|
||||
<form method="post">
|
||||
@ -132,6 +133,7 @@
|
||||
<button type="submit">Log In</button>
|
||||
</form>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user