Our team leader installed n8n on a self-hosted server and sent me an invite to join. I successfully signed up using the invite link, but when I try to log in, I get the following error:
“Wrong username or password. Do you have caps lock on?”
I’ve double-checked my credentials, unable to sign in, even created a user through sqlite db still not able to sign in, the Team leader can access with no issue.
@barn4k I did setup smtp for that using docker-compose.yml, it showed recovery email link sent, but I didnt recieve any not even in spam.
# SMTP Configuration
- N8N_SMTP_HOST=smtp.gmail.com
- N8N_SMTP_PORT=465
- [email protected]@gmail.com
- N8N_SMTP_PASS=password
- [email protected]
- N8N_SMTP_SSL=true
What you can do now is reset user management via the docker container BUT generally resets ALL users as it returns the setup to default and you have to create a new owner account again. The workflows will all still be there.
docker exec -it n8n n8n user-management:reset
Replace the n8n with your docker container name.
If you do this then be sure to setup user management again. Also check the .env file to see what authentication is setup as I noticed that some older builds with basic authentication set still have this after upgrading n8n so the user can’t login without setting up a new account.