mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Fixed: Twitter oAuth callback URL
This commit is contained in:
parent
416e9abca5
commit
d7cb5090fc
@ -91,8 +91,9 @@ var view = Marionette.ItemView.extend({
|
|||||||
this.ui.indicator.show();
|
this.ui.indicator.show();
|
||||||
|
|
||||||
var self = this;
|
var self = this;
|
||||||
|
var callbackUrl = window.location.origin + window.NzbDrone.UrlBase + '/oauth.html';
|
||||||
|
|
||||||
var promise = this.model.requestAction('startOAuth', { callbackUrl: window.location.origin + '/oauth.html' })
|
var promise = this.model.requestAction('startOAuth', { callbackUrl: callbackUrl })
|
||||||
.then(function(response) {
|
.then(function(response) {
|
||||||
return self._showOAuthWindow(response.oauthUrl);
|
return self._showOAuthWindow(response.oauthUrl);
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user