Skip to content

Fix console command to disable 2FA for a user #18947

@zipus

Description

@zipus

When I disable 2FA for my admin user I receive the following traceback:

/var/www/html # ./console twofactorauth:disable-2fa-for-user --login="zipus"
ERROR [2022-03-15 21:05:07] 71157  Uncaught exception in API: /var/www/html/core/API/Proxy.php(436): Please specify a value for 'passwordConfirmation'. [Query: , CLI mode: 1]
ERROR [2022-03-15 21:05:07] 71157  Uncaught exception: /var/www/html/core/API/Proxy.php(436): Please specify a value for 'passwordConfirmation'. [Query: , CLI mode: 1]


                                                      
  [Exception]                                         
  Please specify a value for 'passwordConfirmation'.  
                                                      


twofactorauth:disable-2fa-for-user [--login="..."]


/var/www/html # 

It's running from

  • Matomo Version: 4.4.1
  • Image: matomo:fpm-alpine
  • Server Operating System: Linux with Docker

Metadata

Metadata

Assignees

Labels

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