matomo-org / matomo-mobile-2

Matomo Mobile 2 App - The official Git repository! Liberating Web Analytics on the go!
https://matomo.org/mobile
Other
104 stars 31 forks source link

Passwords with multiple special characters return an error when logging in #5423

Open Starker3 opened 3 years ago

Starker3 commented 3 years ago

It seems when using a password with multiple special characters such as: *o372fZ4*$D4Mm&*Mrd$6 returns the following error: image

However, using a password with a single special character (Such as a hash symbol # eg. IjhU#oiy5) or without special characters the error does not occur.

Customer has Two Factor enabled, but I have tested without Two Factor and same error occurs

Logs here (Provided by end user):

ERROR | API | 2021-01-05 17:59:05 UTC | 30f4f | The method 'getTokenAuth' does not exist or is not available in the module '\Piwik\Plugins\UsersManager\API'.
-- | -- | -- | -- | --
ERROR | API | 2021-01-05 17:59:05 UTC | 30f4f | Uncaught exception in API: /var/www/html/core/API/Proxy.php(500): The method 'getTokenAuth' does not exist or is not available in the module '\Piwik\Plugins\UsersManager\API'.
ERROR | API | 2021-01-05 17:58:53 UTC | 7cc8b | Please specify two-factor authentication code.
ERROR | API | 2021-01-05 17:58:53 UTC | 7cc8b | Uncaught exception in API: /var/www/html/plugins/TwoFactorAuth/TwoFactorAuth.php(126): Please specify two-factor authentication code.
ERROR | API | 2021-01-05 17:58:53 UTC | 3eff4 | The method 'getTokenAuth' does not exist or is not available in the module '\Piwik\Plugins\UsersManager\API'.
ERROR | API | 2021-01-05 17:58:53 UTC | 3eff4 | Uncaught exception in API: /var/www/html/core/API/Proxy.php(500): The method 'getTokenAuth' does not exist or is not available in the module '\Piwik\Plugins\UsersManager\API'.
ERROR | API | 2021-01-05 17:56:56 UTC | 43c6b | Specified path to log file does not exist: /var/www/html/tmp/logs/matomo.log

Issue is in latest version: App Version: 2.4.12 - 9.2.2 ec614f7881

Platform: iPhone OS 14.3 - iPhone10,5 (iPhone 8+) - en-DE & Platform: iPhone OS 14.4 - iPhone11,8 (iPhone XR) - en-NZ

tsteur commented 3 years ago

workaround is to log in using token