Kill unsafe require

This commit is contained in:
Vendicated 2022-10-05 14:20:34 +02:00
parent 98cfa090d4
commit 7e526e4172
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
3 changed files with 0 additions and 18 deletions

View file

@ -111,13 +111,6 @@ export default ErrorBoundary.wrap(function Settings() {
>
Get notified about new Updates
</Switch>}
{!IS_WEB && <Switch
value={settings.unsafeRequire}
onChange={(v: boolean) => settings.unsafeRequire = v}
note="Enables VencordNative.require. Useful for testing, very bad for security. Leave this off unless you need it."
>
Enable Unsafe Require
</Switch>}
<Forms.FormDivider />