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