Describe the bug
I was setting up LDAP authentication, when I tried to save a new edit to the config it threw a "not authorized" error, so I logged out assuming that updating the authentication meant I would need to re authenticate.
It now shows LDAP as an option (though it doesn't work, since our LDAP setup is very finicky and hard to connect to; I don't expect that to be working the first few tries) but the Local login seems to be broken preventing me from logging in with the admin account.
To Reproduce
Steps to reproduce the behavior:
In a fresh Docker environment.
Expected behavior
To log in with the admin credentials
Host Info (please complete the following information):
Additional context
Since I'm pretty sure my LDAP config is incorrect, it is likely an LDAP auth or SSL protocol error that caused all of this. The LDAP is probably using an SSL cipher that is not supported by the Alpine Linux container Wiki.js is running in.
But I would hope that error wouldn't result in the Administrator getting locked out.
Fixed by 2013ee4fa251b0a423c835da41913a41e6d55812
The issue is you enabled TLS but its unable to open the certificate file you specified (missing or incorrect path).
Most helpful comment
Fixed by 2013ee4fa251b0a423c835da41913a41e6d55812
The issue is you enabled TLS but its unable to open the certificate file you specified (missing or incorrect path).