mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 14:17:19 +00:00
fix for issue #2.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from captcha.fields import CaptchaField
|
||||
from django import forms
|
||||
from captcha.fields import ReCaptchaField
|
||||
|
||||
from comic.models import Setting
|
||||
|
||||
|
||||
@@ -33,7 +34,7 @@ class LoginForm(forms.Form):
|
||||
public_key = Setting.objects.get(name='RECAPTCHA_PUBLIC_KEY').value
|
||||
private_key = Setting.objects.get(name='RECAPTCHA_PRIVATE_KEY').value
|
||||
|
||||
captcha = ReCaptchaField(
|
||||
captcha = CaptchaField(
|
||||
label='',
|
||||
public_key=public_key,
|
||||
private_key=private_key,
|
||||
|
||||
Reference in New Issue
Block a user