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

Fix hash algo is missing during upgrade #16816

Merged
merged 3 commits into from Nov 26, 2020
Merged

Fix hash algo is missing during upgrade #16816

merged 3 commits into from Nov 26, 2020

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Nov 26, 2020

No description provided.

@tsteur tsteur added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Nov 26, 2020
@tsteur tsteur added this to the 4.0.1 milestone Nov 26, 2020
@@ -80,7 +80,8 @@ public function getMigrations(Updater $updater)
'login' => $user['login'],
'description' => 'Created by Matomo 4 migration',
'password' => $userModel->hashTokenAuth($user['token_auth']),
'date_created' => Date::now()->getDatetime()
'date_created' => Date::now()->getDatetime(),
'hash_algo' => 'sha512'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll also add an update for existing migrations

@tsteur tsteur added the Needs Review PRs that need a code review label Nov 26, 2020
@tsteur tsteur merged commit 1fa10c6 into 4.x-dev Nov 26, 2020
@tsteur tsteur deleted the fixhashalgo branch November 26, 2020 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants