mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-05 19:08:02 -05:00
Auto send user and password when open managetorrents page
https://github.com/SiCKRAGETV/sickrage-issues/issues/315
This commit is contained in:
parent
8b84e4f4bc
commit
d4fdb6cc00
@ -3172,6 +3172,9 @@ class Manage(Home, WebRoot):
|
||||
else:
|
||||
t.info_download_station = '<p>To have a better experience please set the Download Station alias as <code>download</code>, you can check this setting in the Synology DSM <b>Control Panel</b> > <b>Application Portal</b>. Make sure you allow DSM to be embedded with iFrames too in <b>Control Panel</b> > <b>DSM Settings</b> > <b>Security</b>.</p><br/><p>There is more information about this available <a href="https://github.com/midgetspy/Sick-Beard/pull/338">here</a>.</p><br/>'
|
||||
|
||||
if not sickbeard.TORRENT_PASSWORD == "" and not sickbeard.TORRENT_USERNAME == "":
|
||||
t.webui_url = re.sub('://', '://' + str(sickbeard.TORRENT_USERNAME) + ':' + str(sickbeard.TORRENT_PASSWORD) + '@' ,t.webui_url)
|
||||
|
||||
return t.respond()
|
||||
|
||||
|
||||
@ -4716,4 +4719,4 @@ class ErrorLogs(WebRoot):
|
||||
if issue:
|
||||
ui.notifications.message('Your issue ticket #%s was submitted successfully!' % issue.number)
|
||||
|
||||
return self.redirect("/errorlogs/")
|
||||
return self.redirect("/errorlogs/")
|
||||
|
Loading…
Reference in New Issue
Block a user