aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/openid/views.py
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-06-26 12:20:51 -0700
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-07-03 13:49:16 -0500
commitb01bff8b3c973887fd7063723ee1fb89d6f40a60 (patch)
tree8455e377df44577d4f3a77e9d149e3da814425a9 /mediagoblin/plugins/openid/views.py
parent5adb906a0a4da32f22d4ebd868bfa92929c22011 (diff)
downloadmediagoblin-b01bff8b3c973887fd7063723ee1fb89d6f40a60.tar.lz
mediagoblin-b01bff8b3c973887fd7063723ee1fb89d6f40a60.tar.xz
mediagoblin-b01bff8b3c973887fd7063723ee1fb89d6f40a60.zip
removed openid/lib, since the get forms functions were not needed for persona plugin
Diffstat (limited to 'mediagoblin/plugins/openid/views.py')
-rw-r--r--mediagoblin/plugins/openid/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mediagoblin/plugins/openid/views.py b/mediagoblin/plugins/openid/views.py
index 7ed6e6bd..b95144d0 100644
--- a/mediagoblin/plugins/openid/views.py
+++ b/mediagoblin/plugins/openid/views.py
@@ -23,7 +23,6 @@ from mediagoblin.decorators import (auth_enabled, allow_registration,
require_active_login)
from mediagoblin.tools.response import redirect, render_to_response
from mediagoblin.tools.translate import pass_to_ugettext as _
-from mediagoblin.plugins.openid import lib as auth_lib
from mediagoblin.plugins.openid import forms as auth_forms
from mediagoblin.plugins.openid.models import OpenIDUserURL
from mediagoblin.plugins.openid.store import SQLAlchemyOpenIDStore
@@ -139,7 +138,7 @@ def _response_nickname(response):
@auth_enabled
def login(request):
"""OpenID Login View"""
- login_form = auth_lib.get_login_form(request)
+ login_form = auth_forms.LoginForm(request)
allow_registration = mg_globals.app_config["allow_registration"]
# Can't store next in request.GET because of redirects to OpenID provider