new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Better Auth · Plugins · all subjects

two-factor/schema

2 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Two-Factor schema - user table addition

The 2FA plugin adds one field to the user table: twoFactorEnabled (boolean, optional) - Whether two factor authentication is enabled for the user.

Two-Factor schema - twoFactor table

The 2FA plugin creates a twoFactor table with fields: id (string, primary key), userId (string, foreign key to user.id), secret (string, used to generate TOTP code), backupCodes (string, backup codes for account recovery), verified (boolean, whether TOTP secret has been verified during enrollment), failedVerificationCount (number, consecutive failed verifications for account lockout), lockedUntil (date, optional, when account lockout expires or null if not locked).

Give your agent this brain