Remove fake protection that's not even actually working

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-07-22 00:15:04 +02:00
parent 58bf77dff6
commit cf66f35b94
3 changed files with 0 additions and 10 deletions

View File

@ -39,7 +39,6 @@ const messages = defineMessages({
rawJSONLabel: { id: 'soapbox_config.raw_json_label', defaultMessage: 'Advanced: Edit raw JSON data' },
rawJSONHint: { id: 'soapbox_config.raw_json_hint', defaultMessage: 'Edit the settings data directly. Changes made directly to the JSON file will override the form fields above. Click "Save" to apply your changes.' },
rawJSONInvalid: { id: 'soapbox_config.raw_json_invalid', defaultMessage: 'is invalid' },
verifiedCanEditNameLabel: { id: 'soapbox_config.verified_can_edit_name_label', defaultMessage: 'Allow verified users to edit their own display name.' },
displayFqnLabel: { id: 'soapbox_config.display_fqn_label', defaultMessage: 'Display domain (eg @user@domain) for local accounts.' },
greentextLabel: { id: 'soapbox_config.greentext_label', defaultMessage: 'Enable greentext support' },
promoPanelIconsLink: { id: 'soapbox_config.hints.promo_panel_icons.link', defaultMessage: 'Soapbox Icons List' },
@ -204,13 +203,6 @@ const SoapboxConfig: React.FC = () => {
</CardHeader>
<List>
<ListItem label={intl.formatMessage(messages.verifiedCanEditNameLabel)}>
<Toggle
checked={soapbox.verifiedCanEditName === true}
onChange={handleChange(['verifiedCanEditName'], (e) => e.target.checked)}
/>
</ListItem>
<ListItem label={intl.formatMessage(messages.displayFqnLabel)}>
<Toggle
checked={soapbox.displayFqn === true}

View File

@ -1391,7 +1391,6 @@
"soapbox_config.sentry_dsn_label": "Sentry DSN",
"soapbox_config.tile_server_attribution_label": "Map tiles attribution",
"soapbox_config.tile_server_label": "Map tile server",
"soapbox_config.verified_can_edit_name_label": "Allow verified users to edit their own display name.",
"status.add_known_language": "Do not auto-translate posts in {language}.",
"status.admin_account": "Moderate @{name}",
"status.admin_status": "Open this post in the moderation interface",

View File

@ -95,7 +95,6 @@ const SoapboxConfigRecord = ImmutableRecord({
'😩',
]),
verifiedIcon: '',
verifiedCanEditName: false,
displayFqn: true,
cryptoAddresses: ImmutableList<CryptoAddress>(),
cryptoDonatePanel: ImmutableMap({