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

User table - Default admin account #41

Open
geraldywy opened this issue Dec 9, 2022 · 0 comments
Open

User table - Default admin account #41

geraldywy opened this issue Dec 9, 2022 · 0 comments

Comments

@geraldywy
Copy link

When grafana is first started up, it creates a default admin user. During migration, if the admin user has a changed password, the migration will ignore this fact since it already exists, and the primary key of id 1, will be silently ignored. I believe this library should also delete the first row in user table, similar to how the first row in org table is also deleted since these are default rows created, and a migration would more often than not expect to replace these rows?

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

No branches or pull requests

1 participant