Can't login into the web portal after enabling LDAP

Hi,
I have enabled LDAP and after that I can’t login into the portal with local username. I have an error:
Inactivity caused this session to become invalid. Please login again to proceed.
Please advise.