mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
set username at signup
This commit is contained in:
parent
51e9798afc
commit
a86340bd82
1 changed files with 10 additions and 2 deletions
|
@ -21,8 +21,15 @@
|
||||||
:prepend-icon="$globals.icons.user"
|
:prepend-icon="$globals.icons.user"
|
||||||
validate-on-blur
|
validate-on-blur
|
||||||
:rules="[existsRule]"
|
:rules="[existsRule]"
|
||||||
:label="$t('signup.display-name')"
|
:label="$t('user.full-name')"
|
||||||
type="email"
|
></v-text-field>
|
||||||
|
<v-text-field
|
||||||
|
v-model="user.username"
|
||||||
|
light="light"
|
||||||
|
:prepend-icon="$globals.icons.user"
|
||||||
|
validate-on-blur
|
||||||
|
:rules="[existsRule]"
|
||||||
|
:label="$t('user.username')"
|
||||||
></v-text-field>
|
></v-text-field>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model="user.email"
|
v-model="user.email"
|
||||||
|
@ -111,6 +118,7 @@ export default {
|
||||||
|
|
||||||
const userData = {
|
const userData = {
|
||||||
fullName: this.user.name,
|
fullName: this.user.name,
|
||||||
|
username: this.user.username,
|
||||||
email: this.user.email,
|
email: this.user.email,
|
||||||
group: "default",
|
group: "default",
|
||||||
password: this.user.password,
|
password: this.user.password,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue