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

Allow hostnames to be configured in login whitelist #13137

Merged
merged 4 commits into from Jul 9, 2018
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Jul 4, 2018

May be useful in combination with for example DynDNS providers. Or should we rather have a login.whitelist.hostnames?

May be useful in combination with for example DynDNS providers. Or should we rather have a `login.whitelist.hostnames`?
@tsteur tsteur added the Needs Review PRs that need a code review label Jul 4, 2018
@mattab mattab added this to the 3.6.0 milestone Jul 6, 2018
Copy link
Member

@sgiehl sgiehl left a comment

Choose a reason for hiding this comment

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

For me it would be fine to have the hostnames in the same setting, but we could also split it up.
Neverthless we should mention that in the config description: https://github.com/matomo-org/matomo/blob/3.x-dev/config/global.ini.php#L396-L406 and maybe the changelog as well

@tsteur
Copy link
Member Author

tsteur commented Jul 8, 2018

Good point 👍 Updated the global.ini.php. Not sure about the changelog as it is not directly developer related. I will update https://matomo.org/faq/how-to/faq_25543/ though.

@tsteur
Copy link
Member Author

tsteur commented Jul 8, 2018

fyi @mattab I slightly changed https://matomo.org/faq/how-to/faq_25543/ by adding the hostname part.

@sgiehl sgiehl merged commit 5eb6b4b into 3.x-dev Jul 9, 2018
@sgiehl sgiehl deleted the hostnamewhitelist branch July 9, 2018 08:27
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
* Allow hostnames to be configured in login whitelist

May be useful in combination with for example DynDNS providers. Or should we rather have a `login.whitelist.hostnames`?

* Add test for resolving hostnames

* document new hostname option for the login whitelist

* updates UI file
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants