We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20be69d commit e3f508bCopy full SHA for e3f508b
backend/src/main/java/io/f1/backend/domain/user/app/UserService.java
@@ -98,6 +98,8 @@ public void deleteUser(Long userId) {
98
99
@Transactional
100
public void updateNickname(Long userId, String newNickname, HttpSession session) {
101
+ checkNickname(newNickname);
102
+
103
User user = initNickname(userId, newNickname);
104
session.setAttribute(USER, AuthenticationUser.from(user));
105
SecurityUtils.setAuthentication(user);
0 commit comments