Skip to content

Why is it necessary to check session class for mfa and not elsewhere? #44

@sebbASF

Description

@sebbASF

mfa_enabled() checks the session class:

return isinstance(client_session, session.ClientSession) and client_session.mfa is True, cls.E_NO_MFA

but the other methods do not, e.g. for member():

return client_session.isMember is True, cls.E_NOT_MEMBER

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions