accounts.md (1960B)
1 # Accounts 2 3 ## Settings 4 5 ```yaml 6 ########################### 7 ##### ACCOUNTS CONFIG ##### 8 ########################### 9 10 # Config pertaining to creation and maintenance of accounts on the server, as well as defaults for new accounts. 11 12 # Bool. Do we want people to be able to just submit sign up requests, or do we want invite only? 13 # Options: [true, false] 14 # Default: true 15 accounts-registration-open: true 16 17 # Bool. Do sign up requests require approval from an admin/moderator before an account can sign in/use the server? 18 # Options: [true, false] 19 # Default: true 20 accounts-approval-required: true 21 22 # Bool. Are sign up requests required to submit a reason for the request (eg., an explanation of why they want to join the instance)? 23 # Options: [true, false] 24 # Default: true 25 accounts-reason-required: true 26 27 # Bool. Allow accounts on this instance to set custom CSS for their profile pages and statuses. 28 # Enabling this setting will allow accounts to upload custom CSS via the /user settings page, 29 # which will then be rendered on the web view of the account's profile and statuses. 30 # 31 # For instances with public sign ups, it is **HIGHLY RECOMMENDED** to leave this setting on 'false', 32 # since setting it to true allows malicious accounts to make their profile pages misleading, unusable 33 # or even dangerous to visitors. In other words, you should only enable this setting if you trust 34 # the users on your instance not to produce harmful CSS. 35 # 36 # Regardless of what this value is set to, any uploaded CSS will not be federated to other instances, 37 # it will only be shown on profiles and statuses on *this* instance. 38 # 39 # Options: [true, false] 40 # Default: false 41 accounts-allow-custom-css: false 42 43 # Int. If accounts-allow-custom-css is true, this is the permitted length in characters for 44 # CSS uploaded by accounts on this instance. No effect if accounts-allow-custom-css is false. 45 # 46 # Examples: [500, 5000, 9999] 47 # Default: 10000 48 accounts-custom-css-length: 10000 49 ```