rueder frontend
    Preparing search index...

    Type Alias Credentials

    What POST /api/login reads. It answers with Me and sets the session's cookie. An account with a second factor needs code too, from the app or a recovery code; without it, the answer is 401 with second factor needed.

    type Credentials = {
        code?: string;
        password: string;
        username: string;
    }
    Index
    code?: string
    password: string
    username: string