Actually use the right captcha IDs...

This commit is contained in:
Dane Everitt 2017-04-27 23:46:42 -04:00
parent 720cf5303e
commit 3dc286b511
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -37,7 +37,7 @@
</div>
@endif
<p class="login-box-msg">@lang('auth.reset_password_text')</p>
<form action="{{ route('auth.reset.post') }}" method="POST">
<form id="resetForm" action="{{ route('auth.reset.post') }}" method="POST">
<div class="form-group">
<label for="email" class="control-label">@lang('strings.email')</label>
<div>
@ -89,7 +89,7 @@
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function onSubmit(token) {
document.getElementById("loginForm").submit();
document.getElementById("resetForm").submit();
}
</script>
@endif