Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I reset the admin account? #1107

zefanja opened this issue Oct 14, 2019 · 3 comments

How can I reset the admin account? #1107

zefanja opened this issue Oct 14, 2019 · 3 comments


Copy link

zefanja commented Oct 14, 2019

Describe the bug
I have forgot my admin account credentials. How can I reset them? I've installed koel some months ago, but didn't use it for a long time, so I can't remember what I've entered during setup. Is there a way to reset the admin account without reinstalling?


  • Koel version: v4.1.0
  • OS: Ubuntu 18.04
Copy link

in your terminal run the following command

php artisan tinker

$user = User::find(insert your user id here); // hit enter
$user->password = bcrypt('thisIsYourNewPassword'); // hit enter
$user->save(); // hit enter

then exit tinker

Copy link

phanan commented Oct 17, 2019

What @syahnur197 said – basically using tinker. I may add some koel-specific commands to manage users in the future as well, but it's not very high on my list TBH.

@phanan phanan closed this as completed Oct 17, 2019
Copy link

JCDeen commented Oct 29, 2020

what credentials can I user to log in to koel to demo it (on GitPod)
something like / demo
how can I insert something into users table to do so ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

4 participants