fix: properly set "advanced features" during user registration (#1638)

Previously, "advanced features" was per group, not per user. With this change, this is now properly submitted on user registration. The "seed data" setting is also per group.
This commit is contained in:
Philipp Fischbeck authored and GitHub committed 2022-09-11 09:56:23 -08:00
1 parent 5105b13219
commit c3459d540b
1 file changed
+2 -2
+2 -2
View File
@@ -461,12 +461,12 @@ export default defineComponent({
password: password1.value,
passwordConfirm: password2.value,
locale: locale.value,
seedData: groupSeed.value,
advanced: advancedOptions.value,
};
if (state.ctx.type === RegistrationType.CreateGroup) {
payload.group = groupName.value;
payload.advanced = advancedOptions.value;
payload.private = groupPrivate.value;
payload.seedData = groupSeed.value;
} else {
payload.groupToken = token.value;
}