Skip to content

[Bug]: There is no method to compare old and current password since SecretTexts cannot be compared in Cloud #4653

Description

@bc4all

Describe the issue

When Microsoft obsoleted functions in Password Dialog (SystemApp module) to use Secret Texts instead of Text there is no possibility to check if the password typed by the user is the same as password stored. In AL there is no option to compare Secret Texts (SecretTextA <> SecretTextB is not allowed), also in Extensions for Cloud it is not possible to use UnWrap().

I will fix this bug adding new function to facade codeunit that would allow to compare the secret texts.

Expected behavior

Ability to compare secret texts in a password module

Steps to reproduce

No steps

Additional context

No response

I will provide a fix for a bug

  • I will provide a fix for a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    ApprovedThe issue is approvedIntegrationGitHub request for Integration area

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions