Skip to main content
Module

x/ptereno/lib/models/Client.ts>default#enable2FA

An efficient and fully compliant Pterodactyl API wrapper.
Latest
method default.prototype.enable2FA
import { default } from "https://deno.land/x/ptereno@v1.0.1/lib/models/Client.ts";

Enables two-factor authentication and retrieves recovery tokens.

Parameters

code: string

The parsed two-factor code from a QR image