- Добавил шифрование паролей в БД.
- Добавил валидацию полей ввода. https://www.youtube.com/watch?v=AdLXmE4rjy4&list=PLU2ftbIeotGpAYRP9Iv2KLIwK36-o_qYk&index=14
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
<#import "parts/login.ftl" as l>
|
||||
|
||||
<@com.page>
|
||||
<#if message??>
|
||||
<div class="mb-3"> ${message} </div>
|
||||
<#if Session?? && Session.SPRING_SECURITY_LAST_EXCEPTION??>
|
||||
<div class="alert alert-danger" role="alert">
|
||||
${Session.SPRING_SECURITY_LAST_EXCEPTION.message}
|
||||
</div>
|
||||
</#if>
|
||||
<@l.login "/login" false/>
|
||||
</@com.page>
|
||||
Reference in New Issue
Block a user