Forget password ldap don't work

hi everyone

my nextcloud use active directory backend to authenticate users.
when user want to reset their password by “Forget Password” in Login Page, a email sent to their email address in their AD account and user can reset their password.
but when user want to login with new password they get error " Wrong username or Password".

note that: Internal Username Attribute is empty