Cognito Hosted UI triggers password validation for email input

0

I am using the Cognito Hosted UI to enable a user to sign up with an email and password. I have configured the pool to include password validation, but when using the host UI the password validation is triggered before the user ever focuses on the password field. I have tried to hide the validation with custom CSS but have been unsuccessful because AWS prevents adjacent CSS selectors. Upon inspecting the form, it clearly shows that the email field is calling the password validation function checkPasswordMatch() which to me is a bug. This does not happen on other fields such as family_name or given_name. Has anyone found a workaround for this?

已提問 1 年前檢視次數 63 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南