mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Include recaptcha script on reset page.
This commit is contained in:
parent
aa6060846d
commit
720cf5303e
@ -82,3 +82,15 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user