Skip to content

Commit 593d26a

Browse files
committed
[feature](auth)Add role to user registration.
1 parent 9162b92 commit 593d26a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • auth/api/src/main/java/com/tencent/supersonic/auth/api/authentication/request

auth/api/src/main/java/com/tencent/supersonic/auth/api/authentication/request/UserReq.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ public class UserReq {
1515

1616
@NotBlank(message = "password can not be null")
1717
private String newPassword;
18+
19+
private String role;
1820
}

0 commit comments

Comments
 (0)