diff --git a/src/components/Settings/SettingsUsers/index.tsx b/src/components/Settings/SettingsUsers/index.tsx index b7771a3e0..9ffffaa79 100644 --- a/src/components/Settings/SettingsUsers/index.tsx +++ b/src/components/Settings/SettingsUsers/index.tsx @@ -28,8 +28,6 @@ const messages = defineMessages({ defaultPermissions: 'Default Permissions', defaultPermissionsTip: 'Initial permissions assigned to new users', signinMethods: 'Sign-In Methods', - plexSigninHoverTip: - 'To disable Plex OAuth, email notifications must be enabled and the server owner must have a password configured for their account.', passwordSignin: '{applicationTitle} Password', validationSigninMethods: 'At least one sign-in method must be selected', }); @@ -75,7 +73,7 @@ const SettingsUsers = () => { const allowPlexSigninDisable = ownerData?.hasPassword && - settings.currentSettings.applicationUrl && + !!settings.currentSettings.applicationUrl && settings.currentSettings.emailEnabled; return ( @@ -162,10 +160,7 @@ const SettingsUsers = () => {
@@ -177,23 +172,11 @@ const SettingsUsers = () => { setFieldValue('plexLogin', !values.plexLogin); }} disabled={!allowPlexSigninDisable} - title={ - !allowPlexSigninDisable - ? intl.formatMessage( - messages.plexSigninHoverTip - ) - : undefined - } />
diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index 3e35a16a8..877262871 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -686,7 +686,6 @@ "components.Settings.SettingsUsers.newPlexLogin": "Enable New Plex Sign-Ins", "components.Settings.SettingsUsers.newPlexLoginTip": "Allow Plex users with access to the media server to sign in without being imported", "components.Settings.SettingsUsers.passwordSignin": "{applicationTitle} Password", - "components.Settings.SettingsUsers.plexSigninHoverTip": "To disable Plex OAuth, email notifications must be enabled and the server owner must have a password configured for their account.", "components.Settings.SettingsUsers.signinMethods": "Sign-In Methods", "components.Settings.SettingsUsers.toastSettingsFailure": "Something went wrong while saving settings.", "components.Settings.SettingsUsers.toastSettingsSuccess": "User settings saved successfully!",