rueder frontend
    Preparing search index...

    Type Alias LoginFailure

    LoginFailure:
        | { kind: "wrong" }
        | { kind: "codeNeeded" }
        | { kind: "wrongCode" }
        | { kind: "tooMany"; minutes: number }
        | { kind: "disabled" }
        | { kind: "unconfirmed" }
        | { kind: "passkeyCancelled" }
        | { kind: "passkeyFailed" }
        | { kind: "passkeyWrong" }
        | { kind: "unreachable" }

    Why a login did not work.

    Type Declaration

    • { kind: "wrong" }
    • { kind: "codeNeeded" }

      Name and password were right; the account wants a code of its second factor.

    • { kind: "wrongCode" }
    • { kind: "tooMany"; minutes: number }

      Too many wrong tries; the server says how long to wait.

    • { kind: "disabled" }

      The password was right, but the operator disabled the account.

    • { kind: "unconfirmed" }

      The password was right, but the account waits for its address to be confirmed.

    • { kind: "passkeyCancelled" }

      The reader closed the browser's window for the passkey, or it timed out.

    • { kind: "passkeyFailed" }

      The browser or the device could not use a passkey.

    • { kind: "passkeyWrong" }

      The server took the passkey for none of its accounts.

    • { kind: "unreachable" }