摘要: application.yml server: port: 80 spring: thymeleaf: cache: false #关闭Thymeleaf缓存 mengxuegu: security: authentication: loginPage: /login/page #响应认证(登录)页 阅读全文
posted @ 2020-11-03 22:22 xl4ng 阅读(613) 评论(0) 推荐(0) 编辑
摘要: <div th:if="${param.error}"> <span th:text="${session.SPRING_SECURITY_LAST_EXCEPTION?.message}" style="color: red">用户名或者密码错误</span> </div> package com 阅读全文
posted @ 2020-11-03 21:23 xl4ng 阅读(668) 评论(0) 推荐(0) 编辑