Merge pull request #214 from gradido/no-password-rules

fix: Remove Rules for Password on Login
This commit is contained in:
Moriz Wahl 2021-04-21 16:20:18 +02:00 committed by GitHub
commit 3a3dcf989f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 9 deletions

View File

@ -93,14 +93,6 @@ describe('Login', () => {
'The Email field must be a valid email', 'The Email field must be a valid email',
) )
}) })
it('shows a warning when password is too short', async () => {
wrapper.find('input[placeholder="form.password"]').setValue('1234')
await flushPromises()
await expect(wrapper.find('.invalid-feedback').text()).toEqual(
'The Password field must be at least 6 characters',
)
})
}) })
// to do: test submit button // to do: test submit button

View File

@ -38,7 +38,6 @@
alternative alternative
class="mb-3" class="mb-3"
name="Password" name="Password"
:rules="{ required: true, min: 6 }"
prepend-icon="ni ni-lock-circle-open" prepend-icon="ni ni-lock-circle-open"
type="password" type="password"
:placeholder="$t('form.password')" :placeholder="$t('form.password')"