(Actually Works)

This commit is contained in:
Christopher Neugebauer 2017-08-18 08:55:32 -07:00
parent a6cf86f826
commit 1743a6e9ae

View file

@ -16,12 +16,10 @@ def server_error(request, template_name=defaults.ERROR_500_TEMPLATE_NAME):
def account_login(request): def account_login(request):
d = { d = {
"login_form": LoginEmailForm(), "login_form": LoginUsernameForm(),
"signup_form": SignupForm(), "signup_form": SignupForm(),
"signup_open": getattr(settings, "ACCOUNT_OPEN_SIGNUP", True), "signup_open": getattr(settings, "ACCOUNT_OPEN_SIGNUP", True),
} }
print d["signup_open"], settings.ACCOUNT_OPEN_SIGNUP print d["signup_open"], settings.ACCOUNT_OPEN_SIGNUP
return render(request, "account_login.html", d) return render(request, "account_login.html", d)