- {{ $t('signup.message_2') }}
+ {{ $t('signup.already_ve_an_account') }}
{{ $t('signin.title') }}
@@ -230,6 +230,7 @@
// "./libs"
// );
import { isEmail } from '@/helpers'
+import passwordValidateMixin from '@/pages/user/authentication/passwordValidateMixin'
// import VueRecaptcha from 'vue-recaptcha';
export default {
@@ -237,6 +238,7 @@ export default {
// VueRecaptcha
},
directives: {},
+ mixins: [passwordValidateMixin],
layout: 'empty',
validate() {
return true
@@ -354,7 +356,7 @@ export default {
return this.formUtil.progressColorValue
},
- PasswordValidate(p) {
+ /* PasswordValidate(p) {
if (!p) {
this.passwordProgress = 0
this.passwordValidateMsg = 'Atleast 8 letters with one Uppercase, one number and one special letter'
@@ -372,14 +374,14 @@ export default {
progress = Math.min(100, progress + 25)
}
- if (!(p.match(/.*[A-Z].*/))) {
+ if (!(p.match(/.*[A-Z].*!/))) {
msg += 'One Uppercase Letter. '
validation = validation && false
} else {
progress = Math.min(100, progress + 25)
}
- if (!(p.match(/.*[0-9].*/))) {
+ if (!(p.match(/.*[0-9].*!/))) {
msg += 'One Number. '
validation = validation && false
} else {
@@ -403,7 +405,7 @@ export default {
// console.log('msg', msg, validation);
return validation
- },
+ }, */
PlusCounter() {
this.$store.dispatch('ActPlusCounter')
diff --git a/packages/nc-gui/pages/user/authentication/signup/index.vue b/packages/nc-gui/pages/user/authentication/signup/index.vue
index 8d8a67f2e5..8679b28284 100644
--- a/packages/nc-gui/pages/user/authentication/signup/index.vue
+++ b/packages/nc-gui/pages/user/authentication/signup/index.vue
@@ -205,6 +205,7 @@