diff --git a/src/components/CMyElem/CMyElem.vue b/src/components/CMyElem/CMyElem.vue
index ae81739d..d9823140 100755
--- a/src/components/CMyElem/CMyElem.vue
+++ b/src/components/CMyElem/CMyElem.vue
@@ -442,7 +442,7 @@
Registrazione
-
diff --git a/src/components/CRegistration/CRegistration.vue b/src/components/CRegistration/CRegistration.vue
index c02d2957..14f8e785 100755
--- a/src/components/CRegistration/CRegistration.vue
+++ b/src/components/CRegistration/CRegistration.vue
@@ -14,6 +14,15 @@
:label="$t('reg.submit')"
>
+
+
- Chiedi alla persona che ti ha invitato su RISO il suo
- Username
-
+ Consigliato
+
- oppure se non riesci ad installare Telegram:
+ se non riesci ad installare Telegram:
globalStore.site)
const signup = reactive({
- email: process.env.TEST_EMAIL || '',
- username: process.env.TEST_USERNAME || '',
+ email: '',
+ username: '',
name: '',
surname: '',
- password: process.env.TEST_PASSWORD || '',
- repeatPassword: process.env.TEST_PASSWORD || '',
- terms: !process.env.PROD,
+ password: '',
+ repeatPassword: '',
+ terms: false,
profile: DefaultProfile,
aportador_solidario: '',
})
diff --git a/src/components/CSignUp/CSignUp.vue b/src/components/CSignUp/CSignUp.vue
index 7a9788d1..a420a2ec 100755
--- a/src/components/CSignUp/CSignUp.vue
+++ b/src/components/CSignUp/CSignUp.vue
@@ -72,169 +72,122 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
- {{ $t('reg.scegli_username') }}
+
+
+
+
+
+
+ event.preventDefault()"
+ @keyup.enter="
+ !v$.username.$error ? $refs.inputName.focus() : null
+ "
+ maxlength="20"
+ debounce="500"
+ :error-message="
+ tools.errorMsg('username', v$.username) ||
+ (isalreadyReg ? 'L\'Username è gia stato registrato!' : '')
+ "
+ :label="$t('reg.username_reg')"
+ >
+
+
+
+
+
+
event.preventDefault()"
- @keyup.enter="
- !v$.username.$error ? $refs.inputName.focus() : null
- "
- maxlength="20"
- debounce="500"
- :error-message="
- tools.errorMsg('username', v$.username) ||
- (isalreadyReg ? 'L\'Username è gia stato registrato!' : '')
- "
- :label="$t('reg.username_reg')"
+ @blur="v$.name.$touch"
+ :error="v$.name.$error"
+ maxlength="30"
+ debounce="1000"
+ @keyup.enter="$refs.inputSurname.focus()"
+ :error-message="tools.errorMsg('name', v$.name)"
+ :label="$t('reg.name_opt')"
>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('reg.scegli_password') }}
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
- Privacy Policy
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ rounded
+ size="lg"
+ color="positive"
+ @click="submitOk"
+ :disabled="!allowSubmit()"
+ :label="$t('reg.submit')"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('reg.scegli_username') }}
+ event.preventDefault()"
+ @keyup.enter="
+ !v$.username.$error ? $refs.inputName.focus() : null
+ "
+ maxlength="20"
+ debounce="500"
+ :error-message="
+ tools.errorMsg('username', v$.username) ||
+ (isalreadyReg ? 'L\'Username è gia stato registrato!' : '')
+ "
+ :label="$t('reg.username_reg')"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('reg.scegli_password') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Privacy Policy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+