Skip to content

Uploading logo kicks user out #17586

@julienbfabre

Description

@julienbfabre

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

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.RegressionIndicates a feature used to work in a certain way but it no longer does even though it should.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions