Don't ask password on userscript iframe

This commit is contained in:
Ruud
2012-03-10 17:35:19 +01:00
parent 088dc5386c
commit b3ba732854
+2 -1
View File
@@ -8,6 +8,7 @@ from couchpotato.core.plugins.base import Plugin
from couchpotato.environment import Env
from flask.globals import request
from flask.helpers import url_for
from flask.templating import render_template
import os
log = CPLog(__name__)
@@ -51,7 +52,7 @@ class Userscript(Plugin):
return version
def iFrame(self):
return index()
return render_template('index.html', sep = os.sep, fireEvent = fireEvent, env = Env)
def getViaUrl(self):