SpringSecurityLoginTutorial icon indicating copy to clipboard operation
SpringSecurityLoginTutorial copied to clipboard

<form th:action="@{/login}" method="POST" class="form-signin">

Open utkanbir opened this issue 8 years ago • 2 comments

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?

utkanbir avatar May 06 '17 19:05 utkanbir

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

gustavoponce7 avatar May 07 '17 15:05 gustavoponce7

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?

Dams-Mak avatar Mar 09 '18 19:03 Dams-Mak