|
@@ -164,7 +164,7 @@ function getSettingsMain(){
|
|
|
),
|
|
),
|
|
|
'API' => array(
|
|
'API' => array(
|
|
|
array(
|
|
array(
|
|
|
- 'type' => 'input',
|
|
|
|
|
|
|
+ 'type' => 'password-alt',
|
|
|
'name' => 'organizrAPI',
|
|
'name' => 'organizrAPI',
|
|
|
'label' => 'Organizr API',
|
|
'label' => 'Organizr API',
|
|
|
'value' => $GLOBALS['organizrAPI']
|
|
'value' => $GLOBALS['organizrAPI']
|
|
@@ -196,7 +196,7 @@ function getSettingsMain(){
|
|
|
'options' => getAuthBackends()
|
|
'options' => getAuthBackends()
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
- 'type' => 'input',
|
|
|
|
|
|
|
+ 'type' => 'password-alt',
|
|
|
'name' => 'plexToken',
|
|
'name' => 'plexToken',
|
|
|
'class' => 'plexAuth switchAuth',
|
|
'class' => 'plexAuth switchAuth',
|
|
|
'label' => 'Plex Token',
|
|
'label' => 'Plex Token',
|
|
@@ -213,7 +213,7 @@ function getSettingsMain(){
|
|
|
'attr' => 'data-effect="mfp-3d-unfold"'
|
|
'attr' => 'data-effect="mfp-3d-unfold"'
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
- 'type' => 'input',
|
|
|
|
|
|
|
+ 'type' => 'password-alt',
|
|
|
'name' => 'plexID',
|
|
'name' => 'plexID',
|
|
|
'class' => 'plexAuth switchAuth',
|
|
'class' => 'plexAuth switchAuth',
|
|
|
'label' => 'Plex Machine',
|
|
'label' => 'Plex Machine',
|
|
@@ -254,7 +254,7 @@ function getSettingsMain(){
|
|
|
'placeholder' => 'http(s)://hostname:port'
|
|
'placeholder' => 'http(s)://hostname:port'
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
- 'type' => 'input',
|
|
|
|
|
|
|
+ 'type' => 'password-alt',
|
|
|
'name' => 'embyToken',
|
|
'name' => 'embyToken',
|
|
|
'class' => 'embyAuth switchAuth',
|
|
'class' => 'embyAuth switchAuth',
|
|
|
'label' => 'Emby Token',
|
|
'label' => 'Emby Token',
|
|
@@ -275,7 +275,7 @@ function getSSO(){
|
|
|
return array(
|
|
return array(
|
|
|
'Plex' => array(
|
|
'Plex' => array(
|
|
|
array(
|
|
array(
|
|
|
- 'type' => 'input',
|
|
|
|
|
|
|
+ 'type' => 'password-alt',
|
|
|
'name' => 'plexToken',
|
|
'name' => 'plexToken',
|
|
|
'label' => 'Plex Token',
|
|
'label' => 'Plex Token',
|
|
|
'value' => $GLOBALS['plexToken'],
|
|
'value' => $GLOBALS['plexToken'],
|
|
@@ -291,7 +291,7 @@ function getSSO(){
|
|
|
'attr' => 'data-effect="mfp-3d-unfold"'
|
|
'attr' => 'data-effect="mfp-3d-unfold"'
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
- 'type' => 'input',
|
|
|
|
|
|
|
+ 'type' => 'password-alt',
|
|
|
'name' => 'plexID',
|
|
'name' => 'plexID',
|
|
|
'label' => 'Plex Machine',
|
|
'label' => 'Plex Machine',
|
|
|
'value' => $GLOBALS['plexID'],
|
|
'value' => $GLOBALS['plexID'],
|