def get_loginform(self, redirect_uri=''): from plexpy.webserve import serve_template return serve_template(templatename="login.html", title="Login", redirect_uri=unquote(redirect_uri))
def get_loginform(self, username="", msg=""): from plexpy.webserve import serve_template return serve_template(templatename="login.html", title="Login", username=escape(username, True), msg=msg)
def get_loginform(self): from plexpy.webserve import serve_template return serve_template(templatename="login.html", title="Login")