- Добавил reCaptcha
- Добавил поддержку rememberMe и хранение сессий в БД. https://www.youtube.com/watch?v=7cDpbAbhyjc&list=PLU2ftbIeotGpAYRP9Iv2KLIwK36-o_qYk&index=14
This commit is contained in:
@@ -2,9 +2,14 @@
|
||||
<#import "parts/login.ftl" as l>
|
||||
|
||||
<@com.page>
|
||||
<#if Session?? && Session.SPRING_SECURITY_LAST_EXCEPTION??>
|
||||
<#if SPRING_SECURITY_LAST_EXCEPTION??>
|
||||
<div class="alert alert-danger" role="alert">
|
||||
${Session.SPRING_SECURITY_LAST_EXCEPTION.message}
|
||||
${SPRING_SECURITY_LAST_EXCEPTION.message}
|
||||
</div>
|
||||
</#if>
|
||||
<#if message??>
|
||||
<div <#if messageType??>class="alert alert-${messageType}" role="alert"</#if> >
|
||||
${message}
|
||||
</div>
|
||||
</#if>
|
||||
<@l.login "/login" false/>
|
||||
|
||||
Reference in New Issue
Block a user