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

Login broken if accessing through "untrusted host" #7036

Closed
mnapoli opened this issue Jan 15, 2015 · 0 comments
Closed

Login broken if accessing through "untrusted host" #7036

mnapoli opened this issue Jan 15, 2015 · 0 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@mnapoli
Copy link
Contributor

mnapoli commented Jan 15, 2015

Reported in the forum.

If we access the login page through an untrusted host, the page is completely broken and nothing is shown.

The problem seems to be that the warning is shown to the user using a notification box, but notifications don't seem to work because they rely on AngularJS.

Here is the JS error:

Uncaught TypeError: Cannot read property 'invoke' of undefined:

    angular.element(document).injector().invoke(function ($compile, $rootScope) {
    ...
@mnapoli mnapoli added the Bug For errors / faults / flaws / inconsistencies etc. label Jan 15, 2015
@mnapoli mnapoli added this to the Piwik 2.11.0 milestone Jan 15, 2015
mnapoli added a commit that referenced this issue Jan 16, 2015
@mnapoli mnapoli self-assigned this Jan 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

1 participant