videosphere
    Preparing search index...

    Function getTotpEnabledById

    • Returns whether TOTP is enabled for a user without decrypting the stored secret.

      Parameters

      • userId: string

        Auth user id to look up.

      Returns Promise<boolean>

      True when the profile has totpEnabled; otherwise false.