mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
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:
parent
5105b13219
commit
c3459d540b
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user