feat(backend): implement api keys; rename token -> verificationToken in paste creation api

api keys can bypass authentication and captchas/verification
This commit is contained in:
2026-02-13 01:47:50 -05:00
parent db363f0211
commit 53d0f33ff0
19 changed files with 821 additions and 9 deletions
@@ -7,5 +7,6 @@
public bool Registration_Enabled { get; set; } = true;
public bool First_User_Admin { get; set; } = true;
public bool Admins_Require_2FA { get; set; } = true;
public string API_Key_HMAC_Secret { get; set; } = string.Empty;
}
}