mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge pull request #214 from gradido/no-password-rules
fix: Remove Rules for Password on Login
This commit is contained in:
commit
3a3dcf989f
@ -93,14 +93,6 @@ describe('Login', () => {
|
||||
'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
|
||||
|
||||
@ -38,7 +38,6 @@
|
||||
alternative
|
||||
class="mb-3"
|
||||
name="Password"
|
||||
:rules="{ required: true, min: 6 }"
|
||||
prepend-icon="ni ni-lock-circle-open"
|
||||
type="password"
|
||||
:placeholder="$t('form.password')"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user