Skip to content

Commit b42eace

Browse files
committed
Local Key update
1 parent 3360e5c commit b42eace

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

db.sqlite3

0 Bytes
Binary file not shown.

main_app/templates/main_app/login.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ <h1 class="login-title">College ERP</h1>
6363
placeholder="Enter your password" required>
6464
</div>
6565

66-
<!-- reCAPTCHA "6LfTGD4qAAAAAJLKy1TGJY7uuTh_T1cB5VikRWjF" local-->
66+
<!-- reCAPTCHA "6LfTGD4qAAAAAJLKy1TGJY7uuTh_T1cB5VikRWjF" "6LfHPwojAAAAAAmIefBYBh_y9qTAmKrzIXWF_6FZ"- local-->
6767
<div class="form-group text-center">
68-
<div class="g-recaptcha" data-sitekey="6LfHPwojAAAAAAmIefBYBh_y9qTAmKrzIXWF_6FZ"></div>
68+
<div class="g-recaptcha" data-sitekey="6LfTGD4qAAAAAJLKy1TGJY7uuTh_T1cB5VikRWjF"></div>
6969
</div>
7070

7171
<div class="form-group">

main_app/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def doLogin(request, **kwargs):
3030
#Google recaptcha
3131
captcha_token = request.POST.get('g-recaptcha-response')
3232
captcha_url = "https://www.google.com/recaptcha/api/siteverify"
33-
# captcha_key = "6LfTGD4qAAAAALtlli02bIM2MGi_V0cUYrmzGEGd"
34-
captcha_key = "6LfHPwojAAAAAAtIjbi-7_N4fNf7Wp0LUiYlCDw_" #server
33+
captcha_key = "6LfTGD4qAAAAALtlli02bIM2MGi_V0cUYrmzGEGd"
34+
# captcha_key = "6LfHPwojAAAAAAtIjbi-7_N4fNf7Wp0LUiYlCDw_" #server
3535
data = {
3636
'secret': captcha_key,
3737
'response': captcha_token

0 commit comments

Comments
 (0)