mirror of
https://github.com/Sonarr/Sonarr
synced 2025-03-18 09:55:38 +00:00
Fixed: Twitter oAuth callback URL
This commit is contained in:
parent
416e9abca5
commit
d7cb5090fc
1 changed files with 3 additions and 2 deletions
|
@ -91,8 +91,9 @@ var view = Marionette.ItemView.extend({
|
|||
this.ui.indicator.show();
|
||||
|
||||
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) {
|
||||
return self._showOAuthWindow(response.oauthUrl);
|
||||
})
|
||||
|
@ -137,4 +138,4 @@ AsModelBoundView.call(view);
|
|||
AsValidatedView.call(view);
|
||||
AsEditModalView.call(view);
|
||||
|
||||
module.exports = view;
|
||||
module.exports = view;
|
||||
|
|
Loading…
Add table
Reference in a new issue