Skip to content

Commit 1f0017b

Browse files
committed
Remove navbar login button, this is unnecessary, user will be prompted to log in if not already logged in
1 parent f2c0294 commit 1f0017b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

  • user-manager/service/src/main/webapp/WEB-INF/template

user-manager/service/src/main/webapp/WEB-INF/template/includes.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@
5454
<li><a th:href="@{/logout}"><i class="i"></i> Logout</a></li>
5555
</ul>
5656
</div>
57-
<form th:if="${session.login.isLoggedIn() == false and page != 'login' and page != 'register'}" class="navbar-form pull-right" method="POST" th:action="@{/login}">
58-
<input type="hidden" name="token" th:value="${csrfTokens.get().allocate()}" />
59-
<input type="hidden" name="returnTo" th:value="${#httpServletRequest.requestURL + ((#httpServletRequest.queryString) ? ('?' + #httpServletRequest.queryString) : '')}" />
60-
<input class="span2" type="text" name="email" placeholder="Email" />
61-
<input class="span2" type="password" name="password" placeholder="Password" />
62-
<button type="submit" class="btn">Login</button>
63-
</form>
6457
</div>
6558
</div>
6659
</div>

0 commit comments

Comments
 (0)