feat: account connect
This commit is contained in:
@@ -62,6 +62,11 @@ type AuthToken struct {
|
||||
const (
|
||||
PurposePasswordReset = "password_reset"
|
||||
PurposeEmailVerification = "email_verification"
|
||||
// PurposeLoginOTP is a 6-digit one-time code emailed to a user whose
|
||||
// account has been unverified for >30 days. Verification happens
|
||||
// per-user (FindValidForUser), so the 1M-keyspace can't be brute-forced
|
||||
// offline by hash collision — only online against rate limits.
|
||||
PurposeLoginOTP = "login_otp"
|
||||
)
|
||||
|
||||
// OAuthAccount represents a row in the `oauth_accounts` table — one entry
|
||||
|
||||
Reference in New Issue
Block a user