clear: (
username: string,
actor: string,
via: string,
why?: string,
) =>
| { ok: boolean; removed: boolean; was?: undefined }
| { ok: boolean; removed: boolean; was: Kind } = ...
Type Declaration
-
- (
username: string,
actor: string,
via: string,
why?: string,
):
| { ok: boolean; removed: boolean; was?: undefined }
| { ok: boolean; removed: boolean; was: Kind }
-
Parameters
- username: string
- actor: string
- via: string
Optionalwhy: string
Returns
| { ok: boolean; removed: boolean; was?: undefined }
| { ok: boolean; removed: boolean; was: Kind }
{ ok, removed, was }
Turns a person's emailed second factor off: by the person, an administrator, or this service at the failure limit.