<form th:action="@{/login}" method="POST" class="form-signin">
Hi Gustavo ,
I am trying your code. During the logging , i dont understand how the users email and password is checked. when i read the login.html , i see the below code. But in controller there is no method for login post only login get. Can you pls help?
Hi Tolga, take a look into the following files and you will get it ;)
SecurityConfiguration https://github.com/gustavoponce7/SpringSecurityLoginTutorial/blob/master/src/main/java/com/example/configuration/SecurityConfiguration.java
application.properties https://github.com/gustavoponce7/SpringSecurityLoginTutorial/blob/master/src/main/resources/application.properties
Regards Gustavo
Hi Gustavo ,
I followed your tutorial and everything seems to work fine. I can successfully register though every time I try to login it displays the error message Email or password invalid please verify.
Can you tell me how can I debug this?