1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 09:02:28 +01:00

Include recaptcha script on reset page.

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

View File

@ -82,3 +82,15 @@
</form>
</div>
@endsection
@section('scripts')
@parent
@if(config('recaptcha.enabled'))
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<script>
function onSubmit(token) {
document.getElementById("loginForm").submit();
}
</script>
@endif
@endsection