mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 17:09:13 +00:00
Remove login page non-empty password requirement (#828)
* Remove login page non-empty password requirement * Remove required property from password register
This commit is contained in:
@@ -96,12 +96,7 @@ const LoginForm = () => {
|
|||||||
className="w-full"
|
className="w-full"
|
||||||
type="password"
|
type="password"
|
||||||
label={t('login_page.field.password', 'Password')}
|
label={t('login_page.field.password', 'Password')}
|
||||||
{...register('password', { required: true })}
|
{...register('password')}
|
||||||
error={
|
|
||||||
formErrors.password?.type == 'required'
|
|
||||||
? 'Please enter a password'
|
|
||||||
: undefined
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
type="submit"
|
type="submit"
|
||||||
|
|||||||
Reference in New Issue
Block a user