diff --git a/src/components/AccountCreateUpdateForm/index.vue b/src/components/AccountCreateUpdateForm/index.vue index c22822bdb..71c1894d4 100644 --- a/src/components/AccountCreateUpdateForm/index.vue +++ b/src/components/AccountCreateUpdateForm/index.vue @@ -72,7 +72,9 @@ export default { on: { input: ([value], updateForm) => { if (!this.usernameChanged) { - updateForm({ username: value }) + if (!this.account?.name) { + updateForm({ username: value }) + } const maybePrivileged = this.defaultPrivilegedAccounts.includes(value) if (maybePrivileged) { updateForm({ privileged: true })