Closed Washubrnfg85 closed 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.
Looks like I made an inaccuracy in the
User
class. Let's get rid ofusername
andfullName
and use the
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.
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