Skip to content

[5.x]: users/remove-2fa console command does not work with Craft Cloud #18724

@jamesmacwhite

Description

@jamesmacwhite

What happened?

Description

The following issue has been reported on the Craft Cloud repository, given that the command itself works, but requires interactivity to pass the auth method parameter. Craft Cloud does not support any console command with interactivity and therefore you cannot run this command on a Craft Cloud environment because of it.

Steps to reproduce

See the issue details: craftcms/cloud#150

Expected behavior

Command to run without errors

Actual behavior

Error because the auth method cannot be provided

Craft CMS version

5.9.20

PHP version

8.4.18

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions