Login nexcloud Failed

Ok, I think I know what is going on, some time ago Users app moved away from uid to cn as the main login field and most of the apps were updated. But if you had installed Nextcloud long time ago and keep upgrading it will stay on uid filed.

To check this can you run the following command:

snap run nextcloud.occ config:list | grep ldap_login_filter