add comments

This commit is contained in:
Alex Holliday committed 2024-09-25 15:14:22 +08:00
1 parent 5dbd8378e2
commit ffd193437e
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -596,7 +596,7 @@ const Register = ({ isSuperAdmin }) => {
let registerForm = {
...form,
role: isSuperAdmin ? ["superadmin"] : form.role,
inviteToken: token ? token : "",
inviteToken: token ? token : "", // Add the token to the request for verification
};
let error = validateForm(registerForm, {
context: { password: form.password },