diff --git a/cypress/integration/user/registration.spec.js b/cypress/integration/user/registration.spec.js index fd940aa7e4..16e959d7bb 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 0000000000..9062ccaa27 --- /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 df60cc3842..7ff84f9fee 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 a721f84d58..0fdca38181 100644 --- a/src/views/user/PasswordReset.vue +++ b/src/views/user/PasswordReset.vue @@ -1,9 +1,9 @@