mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #1107] How can I reset the admin account? #650
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#650
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zefanja on GitHub (Oct 14, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/1107
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?
Environment
@syahnur197 commented on GitHub (Oct 16, 2019):
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
@phanan commented on GitHub (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.@JCDeen commented on GitHub (Oct 29, 2020):
what credentials can I user to log in to koel to demo it (on GitPod)
something like koel@koel.com / demo
?
OR
how can I insert something into users table to do so ?
@hulet commented on GitHub (Dec 14, 2024):
For anyone finding this in the future you can now run
php artisan koel:admin:change-password