eugenesimakin / link-sharing-app

0 stars 0 forks source link

login/registration first steps #1

Closed Washubrnfg85 closed 10 months ago

Washubrnfg85 commented 10 months ago

html relocated to templates directory (probably for no reason), filterChain built accordin to current spring version, mapping methods for login and registration added to controller

eugenesimakin commented 10 months ago

Looks like I made an inaccuracy in the User class. Let's get rid of username and fullName and use the email as user identifier.

Washubrnfg85 commented 10 months ago

Looks like I made an inaccuracy in the User class. Let's get rid of username and fullName and use the email as user identifier.

I agree that email should be the identifier, but userName field is necessary because of UserDetailes.getUserName(); It could return null, but I see no reason to exclude name from User class. Also the registration form requires username.