fix(bitbucket): setting site_id for BitBucket auth (#1660)
This commit is contained in:
parent
99a699269b
commit
d139ac4df7
@ -26,7 +26,7 @@ export default class BitbucketAuthenticationPage extends React.Component {
|
|||||||
site_id:
|
site_id:
|
||||||
document.location.host.split(':')[0] === 'localhost'
|
document.location.host.split(':')[0] === 'localhost'
|
||||||
? 'cms.netlify.com'
|
? 'cms.netlify.com'
|
||||||
: this.props.site_id,
|
: this.props.siteId,
|
||||||
auth_endpoint: this.props.authEndpoint,
|
auth_endpoint: this.props.authEndpoint,
|
||||||
};
|
};
|
||||||
const auth = new NetlifyAuthenticator(cfg);
|
const auth = new NetlifyAuthenticator(cfg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user