diff --git a/cypress/integration/user/registration.spec.js b/cypress/integration/user/registration.spec.js index fd940aa7..16e959d7 100644 --- a/cypress/integration/user/registration.spec.js +++ b/cypress/integration/user/registration.spec.js @@ -25,7 +25,6 @@ context('Registration', () => { cy.get('#username').type(fixture.username) cy.get('#email').type(fixture.email) cy.get('#password').type(fixture.password) - cy.get('#passwordValidation').type(fixture.password) cy.get('#register-submit').click() cy.url().should('include', '/') cy.clock(1625656161057) // 13:00 @@ -43,7 +42,6 @@ context('Registration', () => { cy.get('#username').type(fixture.username) cy.get('#email').type(fixture.email) cy.get('#password').type(fixture.password) - cy.get('#passwordValidation').type(fixture.password) cy.get('#register-submit').click() cy.get('div.message.danger').contains('A user with this username already exists.') }) diff --git a/src/components/input/password.vue b/src/components/input/password.vue new file mode 100644 index 00000000..9062ccaa --- /dev/null +++ b/src/components/input/password.vue @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git a/src/components/misc/message.vue b/src/components/misc/message.vue index df60cc38..7ff84f9f 100644 --- a/src/components/misc/message.vue +++ b/src/components/misc/message.vue @@ -1,18 +1,35 @@ diff --git a/src/views/user/PasswordReset.vue b/src/views/user/PasswordReset.vue index a721f84d..0fdca381 100644 --- a/src/views/user/PasswordReset.vue +++ b/src/views/user/PasswordReset.vue @@ -1,9 +1,9 @@