Skip to content

Failed to login with "mxadmin"  #16

Description

@edwinmp

Failed to login because the "mxadmin" username is always converted, even when I've set the username to lower case in the Project security > Tab Administrator > Username.

 // local testing requires you to login with MxAdmin, which is case sensitive
if (user.toLowerCase() === "mxadmin") {
    user = "MxAdmin";
}

Found at:
https://github.com/mendix/LoginForm/blob/master/src/LoginForm/widget/LoginForm.js#L158

I think this bit of code should be removed, unless there is an other good reason for it.
@JelteMX Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions