Skip to content

Sample for custom 2FA activation screen contains wrong signature #7830

Description

@altbrot

What type of issue is it?

Wrong documentation

What article/section is this about?

two-factor-authentication

Describe the issue

The documentation for a custom 2FA activation screen contains an error at line 520:

UserService.getUserCurrent2FaByProviderName({ providerName: this.providerName }),

is not correct. It should be:

UserService.getUserCurrent2FaByProviderName({ path: { providerName: this.providerName } }),

Otherwise this code will fail.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions