mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 10:36:55 +00:00
fix for issue #2.
This commit is contained in:
1 parent
28a2f29f5e
commit
c330c6812b
5 files changed
+52
-31
No files matched your search
+3
-2
@@ -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