Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, and more.
https://anythingllm.com
MIT License
27.45k stars 2.76k forks source link

[BUG]: i can not log in my account #2694

Closed caiot744 closed 6 hours ago

caiot744 commented 7 hours ago

How are you running AnythingLLM?

Docker (remote machine)

What happened?

for some reason, when i insert the credentias it says: Error: Could not validate login.

i already refresh the stack on docker, somebody can help´me?

Screenshot_18

Are there known steps to reproduce?

No response

timothycarambat commented 6 hours ago

This is not the place to post this issue. If you are in password mode your password is the ENV for AUTH_TOKEN in the storage folder .env file. If you are in multi-user mode you probably rolled your token and you can reset the account manually by opening a bash shell container and doing: cd app/server/models node

const {User} = require('./user.js');
await User.where() // get user id you want to reset
await User.update(userId, {password: "newpassword");
await User._update(userId, {seen_recovery_codes: false});

exit()