Skip to content

Commit 3dc286b

Browse files
committed
Actually use the right captcha IDs...
1 parent 720cf53 commit 3dc286b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/themes/pterodactyl/auth/passwords/reset.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</div>
3838
@endif
3939
<p class="login-box-msg">@lang('auth.reset_password_text')</p>
40-
<form action="{{ route('auth.reset.post') }}" method="POST">
40+
<form id="resetForm" action="{{ route('auth.reset.post') }}" method="POST">
4141
<div class="form-group">
4242
<label for="email" class="control-label">@lang('strings.email')</label>
4343
<div>
@@ -89,7 +89,7 @@
8989
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
9090
<script>
9191
function onSubmit(token) {
92-
document.getElementById("loginForm").submit();
92+
document.getElementById("resetForm").submit();
9393
}
9494
</script>
9595
@endif

0 commit comments

Comments
 (0)