Skip to content

Not having 2FA enabled causes file uploads to fail #4857

@wes-otf

Description

@wes-otf

When both ENFORCE_TWO_FACTOR=True and FORCE_LOGIN_FOR_APPLICATION=True, and a user does not have 2FA enabled the upload form field will fail when an upload is attempted. Once the file gets uploaded, instead of getting a 201 response as expected, a 200 is returned and the content of the response is the HTML page Permission Denied: Two factor authentication required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugBugs! Things that are broken :-/

    Type

    No type
    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