mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 21:42:16 -07:00
Fixed: OAuth validation errors
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
69b6b67bf4
commit
3e538f935a
3 changed files with 72 additions and 14 deletions
|
@ -48,11 +48,18 @@ class OAuthInputConnector extends Component {
|
|||
|
||||
onPress = () => {
|
||||
const {
|
||||
name,
|
||||
provider,
|
||||
providerData
|
||||
providerData,
|
||||
section
|
||||
} = this.props;
|
||||
|
||||
this.props.startOAuth({ provider, providerData });
|
||||
this.props.startOAuth({
|
||||
name,
|
||||
provider,
|
||||
providerData,
|
||||
section
|
||||
});
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -69,9 +76,11 @@ class OAuthInputConnector extends Component {
|
|||
}
|
||||
|
||||
OAuthInputConnector.propTypes = {
|
||||
name: PropTypes.string.isRequired,
|
||||
result: PropTypes.object,
|
||||
provider: PropTypes.string.isRequired,
|
||||
providerData: PropTypes.object.isRequired,
|
||||
section: PropTypes.string.isRequired,
|
||||
onChange: PropTypes.func.isRequired,
|
||||
startOAuth: PropTypes.func.isRequired,
|
||||
resetOAuth: PropTypes.func.isRequired
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue