mirror of
https://github.com/mjrode/WhatToWatch.git
synced 2026-05-05 12:09:09 -05:00
Fetch plex server url and token to use on all requests
This commit is contained in:
@@ -10,7 +10,7 @@ import TextHeader from '../helpers/Header';
|
||||
import styles from '../../css/materialize.css';
|
||||
|
||||
class PlexTokenForm extends React.Component {
|
||||
state = {email: '', password: '', plexUrl: ''};
|
||||
state = {email: '', password: ''};
|
||||
|
||||
onFormSubmit = event => {
|
||||
event.preventDefault();
|
||||
@@ -62,20 +62,7 @@ class PlexTokenForm extends React.Component {
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="row no-bottom-margin">
|
||||
<div className="input-field col m8 offset-m2 s12">
|
||||
<p>Plex Server URL</p>
|
||||
<input
|
||||
id="plexUrl"
|
||||
type="text"
|
||||
className="validate center-align"
|
||||
value={this.state.plexUrl}
|
||||
onChange={e =>
|
||||
this.setState({plexUrl: e.target.value})
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="row no-bottom-margin">
|
||||
<div className="input-field col m8 offset-m2 s12">
|
||||
<p>Plex Password</p>
|
||||
|
||||
Reference in New Issue
Block a user