|
|
@ -19,11 +19,14 @@ const messages = defineMessages({
|
|
|
|
toastSettingsSuccess: 'User settings saved successfully!',
|
|
|
|
toastSettingsSuccess: 'User settings saved successfully!',
|
|
|
|
toastSettingsFailure: 'Something went wrong while saving settings.',
|
|
|
|
toastSettingsFailure: 'Something went wrong while saving settings.',
|
|
|
|
localLogin: 'Enable Local Sign-In',
|
|
|
|
localLogin: 'Enable Local Sign-In',
|
|
|
|
newPlexLogin: 'Enable New Plex User Sign-In',
|
|
|
|
localLoginTip:
|
|
|
|
|
|
|
|
'Allow users to sign in using their email address and password, instead of Plex OAuth',
|
|
|
|
|
|
|
|
newPlexLogin: 'Enable New Plex Sign-In',
|
|
|
|
newPlexLoginTip: 'Allow Plex users to sign in without first being imported',
|
|
|
|
newPlexLoginTip: 'Allow Plex users to sign in without first being imported',
|
|
|
|
movieRequestLimitLabel: 'Global Movie Request Limit',
|
|
|
|
movieRequestLimitLabel: 'Global Movie Request Limit',
|
|
|
|
tvRequestLimitLabel: 'Global Series Request Limit',
|
|
|
|
tvRequestLimitLabel: 'Global Series Request Limit',
|
|
|
|
defaultPermissions: 'Default Permissions',
|
|
|
|
defaultPermissions: 'Default Permissions',
|
|
|
|
|
|
|
|
defaultPermissionsTip: 'Initial permissions assigned to new users',
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
const SettingsUsers: React.FC = () => {
|
|
|
|
const SettingsUsers: React.FC = () => {
|
|
|
@ -102,6 +105,9 @@ const SettingsUsers: React.FC = () => {
|
|
|
|
<div className="form-row">
|
|
|
|
<div className="form-row">
|
|
|
|
<label htmlFor="localLogin" className="checkbox-label">
|
|
|
|
<label htmlFor="localLogin" className="checkbox-label">
|
|
|
|
{intl.formatMessage(messages.localLogin)}
|
|
|
|
{intl.formatMessage(messages.localLogin)}
|
|
|
|
|
|
|
|
<span className="label-tip">
|
|
|
|
|
|
|
|
{intl.formatMessage(messages.localLoginTip)}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
@ -170,6 +176,9 @@ const SettingsUsers: React.FC = () => {
|
|
|
|
<div className="form-row">
|
|
|
|
<div className="form-row">
|
|
|
|
<span id="group-label" className="group-label">
|
|
|
|
<span id="group-label" className="group-label">
|
|
|
|
{intl.formatMessage(messages.defaultPermissions)}
|
|
|
|
{intl.formatMessage(messages.defaultPermissions)}
|
|
|
|
|
|
|
|
<span className="label-tip">
|
|
|
|
|
|
|
|
{intl.formatMessage(messages.defaultPermissionsTip)}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="max-w-lg">
|
|
|
|
<div className="max-w-lg">
|
|
|
|