add: ability to require account to view profile
This commit is contained in:
parent
dd4f8b6d58
commit
741fe1c986
4 changed files with 74 additions and 35 deletions
|
@ -210,6 +210,9 @@ pub struct UserSettings {
|
|||
/// The mime type of the user's banner.
|
||||
#[serde(default = "mime_avif")]
|
||||
pub banner_mime: String,
|
||||
/// Require an account to view the user's profile.
|
||||
#[serde(default)]
|
||||
pub require_account: bool,
|
||||
}
|
||||
|
||||
fn mime_avif() -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue