Commit 2c0b40a5 authored by 喻春霖's avatar 喻春霖

fixed

parent 419edb9f
...@@ -257,8 +257,10 @@ public class AuthController { ...@@ -257,8 +257,10 @@ public class AuthController {
authLog.setAuthSource(clientItem.getClientName()); authLog.setAuthSource(clientItem.getClientName());
authLog.setLogType(LogType.logout); authLog.setLogType(LogType.logout);
authLogService.save(authLog); authLogService.save(authLog);
if(StringUtils.isNotEmpty(service)) if(StringUtils.isNotEmpty(service)) {
response.sendRedirect(generateLogoutUrl(service, type.name())); //response.sendRedirect(generateLogoutUrl(service, type.name()));
response.sendRedirect(service);
}
return null; return null;
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<div> <div>
<button onclick="toLogin('qpjy')" class="logo-btn idp-btn" style="background: url('../static/img/logo-qp.png')" <button onclick="toLogin('qpjy')" class="logo-btn idp-btn" style="background: url('../static/img/logo-qp.png')"
type="button"></button> type="button"></button>
<button onclick="toLogin('jsyd')" class="logo-btn idp-btn logo-btn-mask" disabled="disabled" <button onclick="toLogin('jsjy')" class="logo-btn idp-btn logo-btn-mask" disabled="disabled"
style="background: url('../static/img/logo-js.png')" type="button"></button> style="background: url('../static/img/logo-js.png')" type="button"></button>
<button onclick="toLogin('hpjy')" class="logo-btn idp-btn logo-btn-mask" disabled="disabled" <button onclick="toLogin('hpjy')" class="logo-btn idp-btn logo-btn-mask" disabled="disabled"
style="background: url('../static/img/logo-hp.png')" type="button"></button> style="background: url('../static/img/logo-hp.png')" type="button"></button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment