lemmy-js-client
    Preparing search index...

    Type Alias Login

    Logging into lemmy.

    Note: Banned users can still log in, to be able to do certain things like delete their account.

    type Login = {
        password: SensitiveString;
        stay_logged_in?: boolean;
        totp_2fa_token?: string;
        username_or_email: SensitiveString;
    }
    Index

    Properties

    password: SensitiveString
    stay_logged_in?: boolean

    If this is true the login is valid forever, otherwise it expires after one week.

    totp_2fa_token?: string

    May be required, if totp is enabled for their account.

    username_or_email: SensitiveString