mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Change nonce length to 5 in frontend too
- Fix a design issue by replacing 'registration-form' class again to 'login-form'.
This commit is contained in:
parent
b2ab320270
commit
993f980c46
@ -296,12 +296,6 @@ export default {
|
||||
},
|
||||
})
|
||||
this.response = 'success'
|
||||
// Wolle setTimeout(() => {
|
||||
// this.$emit('userCreated', {
|
||||
// email,
|
||||
// password,
|
||||
// })
|
||||
// }, 3000)
|
||||
} catch (err) {
|
||||
this.response = 'error'
|
||||
}
|
||||
|
||||
@ -41,7 +41,8 @@ export default {
|
||||
formSchema: {
|
||||
inviteCode: {
|
||||
type: 'string',
|
||||
// Wolle min: 6,
|
||||
// add again if the input has a validation without focus and typing
|
||||
// min: 6,
|
||||
// max: 6,
|
||||
required: true,
|
||||
message: this.$t('components.enter-invite.form.validations.length'),
|
||||
|
||||
@ -40,8 +40,9 @@ export default {
|
||||
formSchema: {
|
||||
nonce: {
|
||||
type: 'string',
|
||||
// Wolle min: 6,
|
||||
// max: 6,
|
||||
// add again if the input has a validation without focus and typing
|
||||
// min: 5,
|
||||
// max: 5,
|
||||
required: true,
|
||||
message: this.$t('components.enter-nonce.form.validations.length'),
|
||||
},
|
||||
@ -64,7 +65,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
validInput() {
|
||||
return this.formData.nonce.length === 6
|
||||
return this.formData.nonce.length === 5
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
||||
@ -55,7 +55,7 @@ storiesOf('RegistrationSlider', module)
|
||||
inviteCode: 'IN1T6Y',
|
||||
email: 'wolle.huss@pjannto.com',
|
||||
emailSend: false,
|
||||
nonce: 'NTRSCZ',
|
||||
nonce: 'NTRSC',
|
||||
name: 'Wolle',
|
||||
password: 'Hello',
|
||||
passwordConfirmation: 'Hello',
|
||||
@ -89,7 +89,7 @@ storiesOf('RegistrationSlider', module)
|
||||
inviteCode: null,
|
||||
email: 'wolle.huss@pjannto.com',
|
||||
emailSend: false,
|
||||
nonce: 'NTRSCZ',
|
||||
nonce: 'NTRSC',
|
||||
name: 'Wolle',
|
||||
password: 'Hello',
|
||||
passwordConfirmation: 'Hello',
|
||||
@ -141,7 +141,7 @@ storiesOf('RegistrationSlider', module)
|
||||
inviteCode: null,
|
||||
email: 'wolle.huss@pjannto.com',
|
||||
emailSend: true,
|
||||
nonce: 'NTRSCZ',
|
||||
nonce: 'NTRSC',
|
||||
name: 'Wolle',
|
||||
password: 'Hello',
|
||||
passwordConfirmation: 'Hello',
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<section class="registration-form">
|
||||
<section class="login-form">
|
||||
<base-card>
|
||||
<template #imageColumn>
|
||||
<a :href="links.ORGANIZATION" :title="$t('login.moreInfo', metadata)" target="_blank">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user