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

Uploading logo kicks user out #17586

Closed
julienbfabre opened this issue May 18, 2021 · 1 comment · Fixed by #17587
Closed

Uploading logo kicks user out #17586

julienbfabre opened this issue May 18, 2021 · 1 comment · Fixed by #17587
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@julienbfabre
Copy link

Fresh installation of Matomo 4.3, i tried to upload a logo, got kicked out to the login page with an error saying ""Error: Token is not valid."

Trying to log back in while on this page keeps failing.
Note that the url is index.php?module=CoreAdminHome&format=json&action=uploadCustomLogo

Expected Behavior

The logo should upload.

Current Behavior

The user get's kicked out and can't get back in unless manually changing the url.

Steps to Reproduce (for Bugs)

  1. Fresh install
  2. click on the "Upload your logo" link in the "Become a Motomo expert" box on the dashboard
  3. Scroll down to the branding settings, select a logo.

Your Environment

  • Matomo Version: 4.3
  • PHP Version: 8.0.5
  • Server Operating System: Ubuntu 16.04.4
  • Additionally installed plugins:
    Nothing, brand new installation
  • Browser: Chrome
  • Operating System: Mac OS
@julienbfabre julienbfabre added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label May 18, 2021
@flamisz
Copy link
Contributor

flamisz commented May 18, 2021

Hi @julienbfabre, thanks for reporting this issue. I'm able to reproduce that locally, it's indeed a bug.

@flamisz flamisz added Bug For errors / faults / flaws / inconsistencies etc. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels May 18, 2021
@flamisz flamisz mentioned this issue May 18, 2021
10 tasks
@flamisz flamisz self-assigned this May 18, 2021
@flamisz flamisz added this to the 4.3.1 milestone May 18, 2021
@flamisz flamisz added the Regression Indicates a feature used to work in a certain way but it no longer does even though it should. label May 18, 2021
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. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants