Skip to content

Run _get_token_auth after config object is initialized. #201

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

Merged
merged 1 commit into from
Dec 13, 2017

Conversation

smarsching
Copy link
Contributor

This fixes the problem discussed in #200. The _get_token_auth method in the Configuration class may use the piwik object which depends on the config object being present. This means that the _get_token_auth method must not be called from the Configuration contructor, but only after the config object has been created.

This fixes a problem where _get_token_auth would fail because it uses
the piwik object which depends on the config object which is just in the
process if being created.
@mattab mattab merged commit 4ace0ba into matomo-org:master Dec 13, 2017
@mattab
Copy link
Member

mattab commented Dec 13, 2017

Thanks for the quick new PR 👍 will update the submodule in matomo-org/matomo#12350 and wait for build results

mattab added a commit to matomo-org/matomo that referenced this pull request Dec 13, 2017
mattab added a commit to matomo-org/matomo that referenced this pull request Dec 13, 2017
* Log Analytics: use latest submodule

* Update submodule to include bugfix

* Update submodule to include bug fix matomo-org/matomo-log-analytics#201
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

Successfully merging this pull request may close these issues.

2 participants