mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user