#reset admin password?

1 messages · Page 1 of 1 (latest)

lament fable
#

Hi, I have been running LibreChat for a while.

Yesterday, when I tried to login as the admin, it told me that my password is wrong. So I tried to get a reset email, but that didn't work as well (maybe the email address I believe I used for the admin is wrong?). Is there another way to reset the admin password short of deleting everything and reinstalling?

Thanks!

lament fable
tame wave
lament fable
#

I thought I‘d try and set up another user account and make that admin but librechat didn‘t let me register any new accounts (just reported „error“) although registration of users is enabled (set to true in the .env file).

#

Now I have to wait for 60 minutes before trying again. 😭

#

It said „too many accounts created“ but none (new) show up in MongoExpress (in librechat/users). What is going on?

tame wave
#

"too many accounts created" comes from the automatic moderation system:
https://www.librechat.ai/docs/configuration/mod_system

Configuration of the Automated Moderation System. This uses a scoring mechanism to track user violations. As users commit actions like excessive logins, registrations, or messaging, they accumulate violation scores. Upon reaching a set threshold, the user and their IP are temporarily banned. This system ensures platform security by monitoring an...

tame wave
lament fable
#

I just did that with my only account but I didn't get admin powers. I even restarted the whole stack but to no avail.

#

Just in case it matters: my only account was created via social login. Can such an account not be admin?

tame wave
#

you can make a "social" account admin
being admin doesn't show as anything special in the UI, are you sure you didn't get the permissions?

#

here's one way to doublecheck

lament fable
#

Well, if an admin doesn't have any additional settings in the UI, then I am not sure I did not geht admin powers. But if I bot Thema, where can I use them, if not in the UI?

tame wave
#

go in "prompts" -> "manage" and look for the "admin" button

#

more admin tools will come in the future

lament fable
#

Ah, thank you. Yes, it does say Admin up there.

tame wave
#

congrats then, you're the admin!

lament fable
#

Woohoo! Thanks for your help.