[SOLVED] Xwiki import admin user not working

Hi,
One of my colleges imported some pages from the xwiki into a subwiki within the same instance and when now trying to login as admin user it doesn’t work any more. I tried to remove the user and recreate it, import the xwiki admin page from a backup, reset password… but it doesn’t work, the only error I get is:

2019-06-28 12:03:51,087 [http://xwiki.domain.com/bin/loginsubmit/XWiki/XWikiLogin] INFO  .x.x.u.i.x.MyFormAuthenticator - User admin login has failed 

I cannot enable more verbose login.

Thanks.

I think the error came due to :

xwiki.authentication.ldap.trylocal=0

sorry, it was an error on our side… I think we were only allowing LDAP but not local users…