修复除dashboard、login外页面的注销不起作用的问题
Signed-off-by: Chenx221 <chenx221@yandex.com>
This commit is contained in:
parent
7a4370dd5b
commit
21ebfdf358
@ -26,6 +26,7 @@
|
||||
<security:form-login login-page="/login"
|
||||
default-target-url="/dashboard"
|
||||
authentication-failure-handler-ref="customAuthenticationFailureHandler"/>
|
||||
<security:logout logout-url="/logout"/>
|
||||
<security:logout logout-success-url="/login?logout=true"/>
|
||||
</security:http>
|
||||
|
||||
|
@ -101,7 +101,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -113,7 +113,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -113,7 +113,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -115,7 +115,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -133,7 +133,7 @@
|
||||
<div class="container d-flex justify-content-center">
|
||||
<button type="button" class="btn btn-primary" onclick="location.href='../dashboard'">返回</button>
|
||||
<div class="table-container rounded-4 shadow-3-strong"
|
||||
style="background-color: rgba(255,255,255,0.9); overflow-y: auto; max-height: 400px;max-width: 60vw">
|
||||
style="background-color: rgba(255,255,255,0.9); overflow-y: auto; max-height: 400px">
|
||||
<table class="table table-striped table-hover border-primary">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -167,7 +167,8 @@
|
||||
<div class="row mb-2">
|
||||
<div class="col-12">
|
||||
<div class="form-outline">
|
||||
<input type="number" id="typeText1" class="form-control" required name="id"/>
|
||||
<input type="number" id="typeText1" class="form-control" required
|
||||
name="id"/>
|
||||
<label class="form-label" for="typeText1">ID (必填)</label>
|
||||
</div>
|
||||
</div>
|
||||
@ -218,7 +219,9 @@
|
||||
</div>
|
||||
<div class="row mb-2">
|
||||
<div class="col-lg-6">
|
||||
<button type="submit" class="btn btn-primary" data-mdb-toggle="tooltip" data-mdb-placement="top" title="留空为不做修改">更改</button>
|
||||
<button type="submit" class="btn btn-primary" data-mdb-toggle="tooltip"
|
||||
data-mdb-placement="top" title="留空为不做修改">更改
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<button type="reset" class="btn btn-secondary">重置</button>
|
||||
|
@ -113,7 +113,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -26,6 +26,7 @@
|
||||
<security:form-login login-page="/login"
|
||||
default-target-url="/dashboard"
|
||||
authentication-failure-handler-ref="customAuthenticationFailureHandler"/>
|
||||
<security:logout logout-url="/logout"/>
|
||||
<security:logout logout-success-url="/login?logout=true"/>
|
||||
</security:http>
|
||||
|
||||
|
@ -101,7 +101,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -113,7 +113,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -113,7 +113,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -115,7 +115,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -113,7 +113,7 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuAvatar">
|
||||
<li>
|
||||
<a class="dropdown-item" href="logout">登出</a>
|
||||
<a class="dropdown-item" href="${pageContext.request.contextPath}/logout">登出</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user